Zombo
Zombo

Reputation: 1

ERROR: While executing gem with local gem

I came across this question and the answer suggests to manually download the gems instead of having them pulled by gem install.

Well I am received the same error despite using a local gem file.

$ git clone git://github.com/mojombo/jekyll.git

$ cd jekyll

$ gem build jekyll.gemspec
  Successfully built RubyGem
  Name: jekyll
  Version: 0.12.0
  File: jekyll-0.12.0.gem

$ gem install jekyll-0.12.0.gem
ERROR:  While executing gem ... (Zlib::GzipFile::Error)
    not in gzip format

Upvotes: 0

Views: 801

Answers (2)

Zombo
Zombo

Reputation: 1

I fixed this by changing my DNS as detailed in this question

Rubygems blocked by Norton DNS

I ran namebench and have switched to OpenDNS-2.

Upvotes: 0

fmendez
fmendez

Reputation: 7338

I was able to build and install the gem successfully just now, perhaps this might help you: I get this error when installing a gem: "ERROR: While executing gem ... (Zlib::GzipFile::Error)"

Regards,

Upvotes: 1

Related Questions