Compass : (Zlib::GzipFile::Error)

unable to install compass
OS Win7
Ruby 1.9.2

gem sources : http://rubygems.org/

gem update --system
gem install compass
throwing
ERROR: While executing gem … (Zlib::GzipFile::Error)
not in gzip format

prashanth kumar wrote in post #1031219:

unable to install compass
OS Win7
Ruby 1.9.2

gem sources : http://rubygems.org/

gem update --system
gem install compass
throwing
ERROR: While executing gem … (Zlib::GzipFile::Error)
not in gzip format

When you ask for help, always provide enough details so you don’t waste
your time or others.

Something like gem env is a good start and increases your chances of
getting an answer.

C:\Users\Jon>gem env
RubyGems Environment:

  • RUBYGEMS VERSION: 1.8.11
  • RUBY VERSION: 1.9.3 (2011-11-08 patchlevel 0) [i386-mingw32]
  • INSTALLATION DIRECTORY: C:/ruby193/lib/ruby/gems/1.9.1
  • RUBY EXECUTABLE: C:/ruby193/bin/ruby.exe
  • EXECUTABLE DIRECTORY: C:/ruby193/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86-mingw32
  • GEM PATHS:
    • C:/ruby193/lib/ruby/gems/1.9.1
    • C:/Users/Jon/.gem/ruby/1.9.1
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
    • :sources => [“http://rubygems.org”]
    • “gem” => “–no-ri --no-rdoc”
  • REMOTE SOURCES:

Jon


Fail fast. Fail often. Fail publicly. Learn. Adapt. Repeat.
http://thecodeshop.github.com | http://jonforums.github.com/
twitter: @jonforums

prashanth kumar wrote in post #1031219:

unable to install compass
OS Win7
Ruby 1.9.2

gem sources : http://rubygems.org/

gem update --system
gem install compass
throwing
ERROR: While executing gem … (Zlib::GzipFile::Error)
not in gzip format

Since your report is lacking some context (I recommend reading this link
[1])

I can guess the following.

#1, you’re behind a firewall

#2, this firewall is either blocking S3 downloads (coming from
rubygems.org)

#3, these downloads are then unrecognizable by RubyGems

I recommend take a look to your proxy settings and use either
–http-proxy switch of gem install command or HTTP_PROXY environment
variable.

gem install compass --http-proxy http://user:[email protected]:port/

or:

SET HTTP_PROXY=http://user:[email protected]:port/

gem install compass

More info:

gem help install

[1] http://yourbugreportneedsmore.info/

Luis L.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs