$ gem install rails
Successfully installed rails-4.0.0
1 gem installed
Installing ri documentation for rails-4.0.0...
Installing RDoc documentation for rails-4.0.0...
ERROR: While generating documentation for rails-4.0.0
... MESSAGE: error generating /Users/michaelirey/.rvm/gems/ruby-1.9.3-p194/doc/rails-4.0.0/rdoc/guides/Rakefile.html: Error while evaluating /Users/michaelirey/.rvm/gems/ruby-1.9.3-p194/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/page.rhtml: undefined method `chomp' for nil:NilClass (RDoc::Error)
... RDOC args: --op /Users/michaelirey/.rvm/gems/ruby-1.9.3-p194/doc/rails-4.0.0/rdoc lib --title rails-4.0.0 Documentation --quiet
OS X 10.8.4
및 ruby 1.9.3p194
을 사용하여이 보이는,하지만 여전히 오류없이 설치 일을 얻을 좋을 것이다.
rdoc이 Ruby와 함께 설치되지 않습니까? 그는 Ruby 1.9.3을 가지고 있는데, Rails 4.0에서 제대로 작동할까요? – bluehallu
물론, 다른 보석과 마찬가지로 업데이트되고 Rails 4는 Ruby 1.9.3보다 새로운 버전이므로 Ruby 1.9.3의 패치 레벨은 1 년이 넘었습니다. 전 그냥 문서를 건너 뛰는 것에 동의하지만 그는 물었습니다. :) –
공식 웹 페이지에서 : "Rails 4는 Ruby 2.0을 선호하며 1.9.3 또는 그 이상이 필요합니다." 귀하의 솔루션이 작동하지 않을 것이라고 말하는 것은 아니지만 확실하게 나에게 이해가되지 않습니다. – bluehallu