no such file to load -- holidays
Added by Jon Hilton over 15 years ago
When I try to execute this command...
db:migrate_plugins RAILS_ENV=production --trace
I get the error
rake aborted!
no such file to load -- holidays
Full trace below...
C:\Program Files\BitNami Redmine Stack\apps\redmine>rake db:migrate_plugins RAIL S_ENV=production --trace (in C:/Program Files/BitNami Redmine Stack/apps/redmine) ** Invoke db:migrate_plugins (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! no such file to load -- holidays C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/cust om_require.rb:31:in `gem_original_require' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/cust om_require.rb:31:in `require' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l ib/active_support/dependencies.rb:510:in `require' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l ib/active_support/dependencies.rb:355:in `new_constants_in' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l ib/active_support/dependencies.rb:510:in `require' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/plugins/bradbeattie-r edmine-schedules-plugin-fef17ed2b25c460db0c84f0896fef34809b4ef1b/init.rb:2:in `e valuate_init_rb' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ra ils/plugin.rb:95:in `evaluate_init_rb' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l ib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ra ils/plugin.rb:91:in `evaluate_init_rb' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ra ils/plugin.rb:44:in `load' C:/Program Files/BitNami Redmine Stack/apps/redmine/config/../vendor/plugins/eng ines/lib/engines/plugin.rb:77:in `load' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ra ils/plugin/loader.rb:33:in `load_plugins' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ra ils/plugin/loader.rb:32:in `each' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ra ils/plugin/loader.rb:32:in `load_plugins' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/in itializer.rb:292:in `load_plugins' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/in itializer.rb:142:in `process' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/in itializer.rb:97:in `send' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/in itializer.rb:97:in `run' C:/Program Files/BitNami Redmine Stack/apps/redmine/config/environment.rb:20 C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/cust om_require.rb:31:in `gem_original_require' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/cust om_require.rb:31:in `require' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l ib/active_support/dependencies.rb:510:in `require' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l ib/active_support/dependencies.rb:355:in `new_constants_in' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/activesupport/l ib/active_support/dependencies.rb:510:in `require' C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/railties/lib/ta sks/misc.rake:3 C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:636:in `call' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:636:in `execute' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:631:in `each' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:631:in `execute' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:597:in `invoke_with_call_chain' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/1.8/monitor.rb:242:in `sync hronize' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:590:in `invoke_with_call_chain' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:607:in `invoke_prerequisites' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:604:in `each' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:604:in `invoke_prerequisites' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:596:in `invoke_with_call_chain' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/1.8/monitor.rb:242:in `sync hronize' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:590:in `invoke_with_call_chain' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:583:in `invoke' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:2051:in `invoke_task' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:2029:in `top_level' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:2029:in `each' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:2029:in `top_level' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:2068:in `standard_exception_handling' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:2023:in `top_level' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:2001:in `run' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:2068:in `standard_exception_handling' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/li b/rake.rb:1998:in `run' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bi n/rake:31 C:/Program Files/BitNami Redmine Stack/ruby/bin/rake:19:in `load' C:/Program Files/BitNami Redmine Stack/ruby/bin/rake:19
Replies (2)
RE: no such file to load -- holidays - Added by Eric Davis over 15 years ago
The holidays gem is required by the Redmine Schedules plugin. The installation is described in the plugin's README. http://github.com/bradbeattie/redmine-schedules-plugin/tree
Eric Davis
RE: no such file to load -- holidays - Added by Shreyas Moolya about 8 years ago
but the link [[http://github.com/bradbeattie/redmine-schedules-plugin/tree]] gives 404 error