简体   繁体   中英

error while installing rails

The following is the error I got when I am installing rails on my linux system, any one's help..most welcome!

Installing gem rails-3.2.12
Successfully installed rails-3.2.12
1 gem installed
Installing ri documentation for rails-3.2.12...
ERROR:  While executing gem ... (NoMethodError)
undefined method `map' for Gem::Specification:Class

You need to update your ruby gems..

Or you can use

rvm get head
rvm reload
rvm install 1.9.3-p194
rvm use 1.9.3

One of the good blog for installing rails on linux machine : RailsInstallationOnRubyMachine

I hope this may help you in your installation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM