[英]Mac OSX Ruby on Rails Installation problem - file not found / error with generating documentation
I am installing Ruby on Rails on OSX. 我在OSX上安装Ruby on Rails。 I am following these instructions:
我遵循这些指示:
tp> tar xzf rubygems-x.y.z.tar.gz
tp> cd rubygems-x.y.z
rubygems-x.y.z> sudo ruby setup.rb
All good up to here and then I issue with this command with the following error: 一切都很好,然后我发出这个命令,出现以下错误:
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
Additional info: 附加信息:
My version of Ruby: 我的Ruby版本:
sh-3.2# ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
I recommend you to use RVM for working with Ruby and Ruby Gems: 我建议你使用RVM来处理Ruby和Ruby Gems:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.