Project

General

Profile

rake aborted! no such file to load -- spec

Added by Carl Hagström about 12 years ago

Hi,

I'm new to redmine and after installing some plugins i receive this error when installing new ones:

root@linux:/opt/bitnami/apps/redmine/vendor/plugins# rake db:migrate_plugins RAILS_ENV=production --trace
(in /opt/bitnami/apps/redmine)
rake aborted!
no such file to load -- spec
/opt/bitnami/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `gem_original_require'
/opt/bitnami/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `require'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/opt/bitnami/apps/redmine/vendor/plugins/redmine_plugin_support/tasks/rspec.rake:5
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:171:in `load_without_new_constant_marking'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:171:in `load'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:171:in `load'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/tasks/rails.rb:11
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/tasks/rails.rb:11:in `each'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/tasks/rails.rb:11
/opt/bitnami/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `gem_original_require'
/opt/bitnami/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `require'
/opt/bitnami/apps/redmine/Rakefile:15
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load_rakefile'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:501:in `raw_load_rakefile'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `load_rakefile'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
/opt/bitnami/ruby/bin/rake:19:in `load'
/opt/bitnami/ruby/bin/rake:19
root@linux:/opt/bitnami/apps/redmine/vendor/plugins#

How can I solve this problem?

Thanks!


Replies (2)

RE: rake aborted! no such file to load -- spec - Added by Ivan Cenov about 12 years ago

Hi,

Try to remove plugin 'redmine_plugin_support' and see what will happen.

The last commit in its repository (https://github.com/edavis10/redmine_plugin_support) is 2 years old. It may be not compatible with Redmine 1.3.1. Also you may have not configured it properly (see 'Configuration options' at the plugin's page).

RE: rake aborted! no such file to load -- spec - Added by Carl Hagström about 12 years ago

I removed the plugin which fixed the problem. Thanks! =)

    (1-2/2)