This project is archived and is in readonly mode.
undefined method `html_safe?' when generating rdoc
-
Mikel Lindsaar
- Assigned user set to Mikel Lindsaar
Seems to be working here, still a problem for you?
Mikel
rails.rb: mc............... erb.rb: mmc test_unit.rb: mmc Generating HTML... Files: 412 Classes: 508 Modules: 665 Methods: 2536 Elapsed: 80.426s ** Execute doc:rails -
trevor
unknown. when installing the gems, the rdoc for the libraries are generated, and for rails and railties i get this error through gem server:
`/doc_root/rails-3.0.0.beta/rdoc/index.html' not found. `/doc_root/railties-3.0.0.beta/rdoc/index.html' not found.trying to generate via doc:rails isn't working for me -
% rails -v Rails 3.0.0.beta % ruby -v ruby 1.9.2dev (2010-02-03 trunk 26544) [x86_64-darwin10.2.0] % rails myapp % cd myapp % rake doc:rails rake aborted! Don't know how to build task 'vendor/gems/gems/actionmailer-3.0.0.beta/README' /usr/local/lib/ruby/1.9.1/rake.rb:1720:in
[]' /usr/local/lib/ruby/1.9.1/rake.rb:603:inblock in invoke_prerequisites' % mkdir -p vendor/gems/gems % cp -R /usr/local/lib/ruby/gems/1.9.1/gems/*.beta vendor/gems/gems % mv vendor/gems/gems/actionmailer-3.0.0.beta vendor/gems/gems/actionmailer % mv vendor/gems/gems/actionpack-3.0.0.beta vendor/gems/gems/actionpack % mv vendor/gems/gems/activemodel-3.0.0.beta vendor/gems/gems/activemodel % mv vendor/gems/gems/activerecord-3.0.0.beta vendor/gems/gems/activerecord % mv vendor/gems/gems/activeresource-3.0.0.beta vendor/gems/gems/activeresource % mv vendor/gems/gems/activesupport-3.0.0.beta vendor/gems/gems/activesupport % mv vendor/gems/gems/rails-3.0.0.beta vendor/gems/gems/rails % mv vendor/gems/gems/railties-3.0.0.beta vendor/gems/gems/railties % rake doc:rails RAILS_PATH="vendor/gems/gems" rake aborted! Don't know how to build task 'vendor/gems/gems/railties/MIT-LICENSE' /usr/local/lib/ruby/1.9.1/rake.rb:1720:in[]' /usr/local/lib/ruby/1.9.1/rake.rb:603:inblock in invoke_prerequisites' -
Ryan Bigg
I tried this on the latest 1.9.2 and it fails because we already have a doc directory. The easiest way of course to get it to continue is to delete this doc directory. Patch pending.
-
Ryan Bigg
Here's a patch to fix the issue described above.
-
Jeff Kreeftmeijer
Automatic cleanup of spam.
-
Santiago Pastorino
- State changed from new to open
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino
- State changed from open to stale
