hi there,
i’m new to RoR, installed ruby and rubygems alright, this is what
happens when I try to install rails:
~ # gem install rails
/root/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require': no such file to load -- zlib (LoadError) from /root/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
from /root/lib/ruby/site_ruby/1.8/rubygems/package.rb:10
from /root/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' from /root/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
from /root/lib/ruby/site_ruby/1.8/rubygems/format.rb:9
from /root/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' from /root/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
from /root/lib/ruby/site_ruby/1.8/rubygems/installer.rb:11
… 11 levels…
from /root/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:103:in
process_args' from /root/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:74:in
run’
from /root/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in `run’
from /root/bin/gem:24
~ #
this is after I compiled ruby myself from source (configure, make,
make install) and installed rubygems (ruby setup.rb)
also, it seems like I have zero gems installed :
~ # gem query --local
*** LOCAL GEMS ***
~ #
little it of help, please ?
many thanks !