applicationsonline / librarian-chef

Librarian-Chef - A Bundler for your Chef Cookbooks. Librarian is at: https://github.com/applicationsonline/librarian.
http://applicationsonline.com/
MIT License
360 stars 55 forks source link

Zlib::GzipFile::Error: not in gzip format #17

Open koodough opened 11 years ago

koodough commented 11 years ago

I included librarian-chef in knife.rb

require 'librarian/chef/integration/knife'
cookbook_path Librarian::Chef.install_path,
              "~/Sites/chef-repo/site-cookbooks"

I receive a "not in gzip format" error when I run knife solo cook or knife ssh

knife solo cook 10.0.0.10 knife ssh -m 10.0.0.10 chef-client

ERROR: You have an error in your config file ~/.chef/knife.rb
Zlib::GzipFile::Error: not in gzip format
  ~/.chef/knife.rb:11:in `from_file'

     # ~/.chef/knife.rb
 10: 
 11: require 'librarian/chef/integration/knife'
 12: cookbook_path Librarian::Chef.install_path,
yfeldblum commented 11 years ago

Which version of librarian-chef are you using? if you are not using v0.0.2, does upgrading help?

koodough commented 11 years ago

RubyGems Environment:

librarian-chef version

librarian-0.1.1
librarian-chef-0.0.2

Same error with Ruby 2.0