Updating to Rails 3 on Mac OS X
While trying to install Rails 3, I get the followi开发者_JAVA百科ng error:
command run: sudo gem install rails --pre
error'd now with:
Successfully installed rails-3.0.0.rc2
1 gem installed
Installing ri documentation for rails-3.0.0.rc2...
File not found: lib
Or if you don't want to worry about running versions side by side you can do
gem update rails
At least it worked for me.
Rails 3 is out of beta/rc now, so try:
gem install rails --version 3.0.0
It should work on Ruby 1.8.7 and 1.9.2-p0.
I haven't personally seen that issue, but you could try and get around it by using the --no-ri
option.
sudo gem install rails --pre --no-ri
There's also a --no-rdoc
option if you have trouble with that too.
精彩评论