Problems on installation
I just installed Ruby then I download rubygems 1.6.1 and I extract the zip dir.. cd to the dir and do ruby setup.rb... and this is what I get:
RubyGems 1.6.1 installed
=== 1.6.1 / 2011-03-03
Bug Fixes:
- Installation no longer fails when a dependency from a version that won't be installed is unsatisfied.
- README.rdoc now shows how to file tickets and get help. Pull Request #40 by Aaron Patterson.
- Gem files are cached correctly again. Patch #29051 by Mamoru Tasaka.
- Tests now pass with non-022 umask. Patch #29050 by Mamoru Tasaka.
RubyGems installed the following executables:
/usr/local/bin/gem
I tough gems was installed but when I do "gem install rails" i get :
ERROR: Loading command: install (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
So I guess something went wrong or gem is not installed can you
help me?
Support Staff 2 Posted by Nick Quaranto on 17 Mar, 2011 03:59 PM
Sounds like you don't have Ruby installed with zlib enabled.
If you're using RVM, this is pretty easy:
http://rvm.beginrescueend.com/packages/zlib/
You'll probably need OpenSSL too:
http://rvm.beginrescueend.com/packages/openssl