Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Zlib Error in ubuntu while installing new gems
Arunkumar Balu
1/20/2009 10:38:00 AM
Hi,
After installing the rubygems 1.3.1, I face the following issues while
installing new gems.
Error:
arun@mysystem:~/Desktop$ sudo gem install ip2country-0.0.2.gem
ERROR: While executing gem ... (Zlib::GzipFile::Error)
not in gzip format
My Environment:
OS - ubuntu 8.04 - the Hardy Heron version.
Ruby - ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.8
- /home/arun/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
-
http://gems.ruby...
Please suggest a solution. I want to install required gems. Do i need to
revert my rubygems version? because in my older version rubygems-1.0.1,
i dont see any errors. is it a bug in rubygems-1.3.1 or do i need to
change anything?
Thanks,
Arun.
--
Posted via
http://www.ruby-...
.
3 Answers
Roger Pack
1/21/2009 3:35:00 PM
0
> arun@mysystem:~/Desktop$ sudo gem install ip2country-0.0.2.gem
>
> ERROR: While executing gem ... (Zlib::GzipFile::Error)
> not in gzip format
did you apt-get install the ruby zlib libs?
--
Posted via
http://www.ruby-...
.
Arunkumar Balu
1/22/2009 4:56:00 AM
0
Roger Pack wrote:
>
>> arun@mysystem:~/Desktop$ sudo gem install ip2country-0.0.2.gem
>>
>> ERROR: While executing gem ... (Zlib::GzipFile::Error)
>> not in gzip format
>
> did you apt-get install the ruby zlib libs?
Yes I did, but still it throws the error. If i use rubygems-1.0.1, then
i found no problems in installing gems. Its working well with
rubygems-1.0.1.
--
Posted via
http://www.ruby-...
.
Roger Pack
1/23/2009 4:24:00 PM
0
Arunkumar Balu wrote:
> Roger Pack wrote:
>>
>>> arun@mysystem:~/Desktop$ sudo gem install ip2country-0.0.2.gem
>>>
>>> ERROR: While executing gem ... (Zlib::GzipFile::Error)
>>> not in gzip format
>>
>> did you apt-get install the ruby zlib libs?
>
> Yes I did, but still it throws the error. If i use rubygems-1.0.1, then
> i found no problems in installing gems. Its working well with
> rubygems-1.0.1.
I'd try rebuilding all from scratch, or just stick with gems 1.0.1 :)
There may have been some difficulty from an upgrade from 1.0.1 to 1.3.1
maybe it kept behind old cached [somehow bad] files?
-=r
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Zlib Error in ubuntu while installing new gems
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password