我在OSX上安装Ruby on Rails。我遵循这些指示:
tp> tar xzf rubygems-x.y.z.tar.gz
tp> cd rubygems-x.y.z
rubygems-x.y.z> sudo ruby setup.rb
所有这些都很好,然后我用这个命令发出以下错误:
tp> sudo gem install rails --include-dependencies
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Successfully installed rails-3.0.5
1 gem installed
Installing ri documentation for rails-3.0.5...
File not found: lib
ERROR: While generating documentation for rails-3.0.5
... MESSAGE: exit
... RDOC args: --ri --op /Library/Ruby/Gems/1.8/doc/rails-3.0.5/ri lib --title rails-3.0.5 Documentation --quiet
其他信息:
我的Ruby版本:
sh-3.2# ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]