2013-06-27 6 views
0

레일 4로 업그레이드 한 후 레이크가 실행되지 않고 내 보석을 업그레이드하기 전에 정상적으로 실행 중입니다. 나는 Ruby 1.9.3을 사용하고있다. 어떤 이유로 rdoc은 마크 업 속성을 인식하지 못하지만 제거되거나 이름이 바뀌는 것에 대해서는 아무 것도 찾을 수 없습니다.레일 4를 사용하는 레이크 RDoc의 오류

이것은 내가받는 오류 메시지입니다.

관련 코드 (미도 완료 deploy.rake)

RollOut::DeployTask.new do |d| 
d.test = RSpec::Core::RakeTask.new 
d.doc = RDoc::Task.new :doc do |rdoc| 
    rdoc.rdoc_files.include('README.md', 'lib/**/*.rb', 'app/**/*.rb') 
    rdoc.rdoc_dir = 'target/doc' 
    rdoc.markup = 'tomdoc' 
end 

전체 추적 : 사람이 원인이 될 수 있는지 어떤 생각을 가지고

> RAILS_ENV=production rake assets:precompile --trace       
rake aborted! 
undefined method `markup=' for #<RDoc::Task:0x007fb4b46be660> 
/Users/rust/test_app/lib/tasks/deploy.rake:16:in `block (2 levels) in 
<top (required)>' 
/Users/rust/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/rdoc/task.rb:158:in 
`initialize' 
/Users/rust/test_app/lib/tasks/deploy.rake:14:in `new' 
/Users/rust/test_app/lib/tasks/deploy.rake:14:in `block in <top 
(required)>' 
/Users/rust/roll_out/lib/roll_out/deploy_task.rb:73:in `initialize' 
/Users/rust/test_app/lib/tasks/deploy.rake:12:in `new' 
/Users/rust/test_app/lib/tasks/deploy.rake:12:in `<top (required)>' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/activesupport- 
4.0.0/lib/active_support/dependencies.rb:222:in `load' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/activesupport- 
4.0.0/lib/active_support/dependencies.rb:222:in `block in load' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-  
4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/activesupport- 
4.0.0/lib/active_support/dependencies.rb:222:in `load' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties- 
4.0.0/lib/rails/engine.rb:641:in `block in run_tasks_blocks' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties- 
4.0.0/lib/rails/engine.rb:641:in `each' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties- 
4.0.0/lib/rails/engine.rb:641:in `run_tasks_blocks' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties- 
4.0.0/lib/rails/application.rb:244:in `run_tasks_blocks' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties- 
4.0.0/lib/rails/engine.rb:446:in `load_tasks' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties- 
4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing' 
/Users/rust/test_app/Rakefile:7:in `<top (required)>' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake- 
10.1.0/lib/rake/rake_module.rb:25:in `load' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake- 
10.1.0/lib/rake/rake_module.rb:25:in `load_rakefile' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake- 
10.1.0/lib/rake/application.rb:637:in `raw_load_rakefile' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake- 
10.1.0/lib/rake/application.rb:94:in `block in load_rakefile' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake- 
10.1.0/lib/rake/application.rb:165:in `standard_exception_handling' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake- 
10.1.0/lib/rake/application.rb:93:in `load_rakefile' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake- 
10.1.0/lib/rake/application.rb:77:in `block in run' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake- 
10.1.0/lib/rake/application.rb:165:in `standard_exception_handling' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake- 
10.1.0/lib/rake/application.rb:75:in `run' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-10.1.0/bin/rake:33:in `<top 
(required)>' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/bin/rake:23:in `load' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/bin/rake:23:in `<main>' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in `eval' 
/Users/rust/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in `<main>' 

합니까 및/또는 그것을 고치는 방법?

답변

0

내 보석 파일에 'rdoc'보석을 추가하면 오류가 사라지는 것 같습니다. 나는 이것이 다른 보석의 종속물 이었기 때문에 이것이 어떤 차이를 만드는 이유는 확실하지 않다.