CentOS 6.5 Ruby 1.9.3 RubyGems 1.8.24
Can not install Rails (logged in as 'root'). I get the following error:
ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ...(NameError) uninitialized constant Gem::Commands::InstallCommand
yum install zlib shows packaged installed already and latest version
Any help would be appreciated...
Best How To :
The above is the best set of instructions I have found for installing Ruby, Gems, Rails and Sqlite. Just one typo error but all else worked well for me on CentOS 6.5.
The typo is where the instructions say to 'Install the sqlite-ruby'. The command should read:
gem install sqlite3-ruby
yum install nodejs