简体   繁体   中英

installing ruby and rails on OSX, after installing Ruby and Rubygems the “gem install rails” command doesn't work

im installing ruby on rails and i have ruby 1.9.2 installed as well as rubygems. im using rvm for ruby installation. anyways, when trying to install rails by typing "sudo gem install rails" I get:

"Successfully installed rails-3.2.3 1 gem installed Installing ri documentation for rails-3.2.3... Installing RDoc documentation for rails-3.2.3..."

but typing in "rails -v" gets:

"Rails is not currently installed on this system. To get the latest version, simply type: $ sudo gem install rails You can then rerun your "rails" command"

what can I do? everything else is up to date and working. thanks for any help.

试试看: http : //railsoneclick.com/

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