rake yard does not work for generating documentation.
- Install Yard :
gem install yard
- Generate documentation, from root redmine folder :
- rake yard ends with error :
rake aborted! Don't know how to build task 'yard' (See full trace by running task with --trace)
- Redmine version: 2.0.0.stable
- Ruby version: 1.8.7 (x86_64-linux)
- Rails version: 3.2.3
- Environment: production
- Database adapter: MySQL
- Yard : 0.8.1
Added yard to development gems.
#7 Updated by Etienne Massip about 6 years ago
rake yard is designed to run on development (like
rdoc) so you have to include the
development group in your bundle and run
rake in development
If you have
bundle install --without development ... in the first place then
bundle install won't change your bundle since
--without is a remembered option, so you have to delete and recreate your bundle.
#8 Updated by Antoine Rodriguez about 6 years ago
- File output.txt added
I've deleted the .bundle folder inside the redmine root folder and made a
bundle install without any other option.
rake yard worked but with a lot of warnings.
At the end the doc has been generated into the doc/app folder inside the redmine root folder.
You can appreciate the warnings inside the output.txt that I've uploaded with this message.
Thank you very much. Original bug is fixed.