gem install rails
ERROR: Loading command: install (LoadError)
cannot load such file -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
===================
then in /opt/ruby/ext/zlib/
ERROR: Loading command: install (LoadError)
cannot load such file -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
===================
yum install zlib-devel
then in /opt/ruby/ext/zlib/
ruby extconf.rb make && make install===================
No comments:
Post a Comment