After to install the ruby 1.8.7 patch level 22 on ubuntu 8.04 hardy
succefully.Then I tryed to install rubygems 1.2 in sequence and I
received this error message:
xyz@xyz: /usr/local/src/rubygems-1.2.0$ sudo ruby setup.rb
/lib/rubygems/spec_fetcher.rb:1:in `require’: no such file to load –
zlib (LoadError)
How Can I fix this problem? Everyone had this experience?
After to install the ruby 1.8.7 patch level 22 on ubuntu 8.04 hardy
succefully.Then I tryed to install rubygems 1.2 in sequence and I
received this error message:
xyz@xyz: /usr/local/src/rubygems-1.2.0$ sudo ruby setup.rb
/lib/rubygems/spec_fetcher.rb:1:in `require’: no such file to load –
zlib (LoadError)
How Can I fix this problem? Everyone had this experience?
You need to compile and install ruby again from source, but this time
with the zlib development package installed (I think it’s called
“zlib1g-dev” or something like that; I don’t have an Ubuntu machine
handy right now)
This is so that Ruby can build its own zlib extension.
Thank’s but After zlib1g libs installation the problem has not solved
zlib1g-dev
And I didn’t unistall ruby
I imagine you compiled ruby 1.8.7 from source, as it’s not a standard
Hardy package. If not, how did you install it? Was it from some
non-standard repository? If so, perhaps their package is broken.
Thank’s but After zlib1g libs installation the problem has not solved
zlib1g-dev
And I didn’t unistall ruby
I imagine you compiled ruby 1.8.7 from source, as it’s not a standard
Hardy package. If not, how did you install it? Was it from some
non-standard repository? If so, perhaps their package is broken.
Thank’s but After zlib1g libs installation the problem has not solved
zlib1g-dev
And I didn’t unistall ruby
I imagine you compiled ruby 1.8.7 from source, as it’s not a standard
Hardy package. If not, how did you install it? Was it from some
non-standard repository? If so, perhaps their package is broken.