Running: rake redmine:plugins:migrate (in .../webapps/redmine/redmine) rake aborted! no such file to load -- bundler/setup .../webapps/redmine/redmine/Rakefile:5 Any idea how to fix this? asked 17 Jun '16, 06:51 Federico Tom...
showing 5 of 8
show 3 more comments
|
Hello,
Please run it as 'rake redmine:plugins:migrate RAILS_ENV=production --trace' and paste back the output here or in a support ticket (if you prefer).
This is the output from running "rake redmine:plugins:migrate RAILS_ENV=production --trace"
rake aborted! no such file to load -- bundler/setup /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' /home/ftomassetti/webapps/redmine/redmine/config/boot.rb:4 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' /home/ftomassetti/webapps/redmine/redmine/config/application.rb:1 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' /home/ftomassetti/webapps/redmine/redmine/Rakefile:5 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2382:inload' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2382:in
raw_load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:inload_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2015:inload_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1999:in
run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:instandard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:in
run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19I tried also to set the environment as in the start script:
PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ftomassetti/bin RUBYLIB=/home/ftomassetti/webapps/redmine/lib:$RUBYLIB TMPDIR=/home/ftomassetti/webapps/redmine/tmp PASSENGER_TMPDIR=/home/ftomassetti/webapps/redmine/tmp GEM_HOME=/home/ftomassetti/webapps/redmine/gems /home/ftomassetti/webapps/redmine/bin/rake redmine:plugins:migrate RAILS_ENV=production --trace /home/ftomassetti/webapps/redmine/gems/gems/htmlentities-4.3.1/lib/htmlentities/mappings/expanded.rb:465: warning: duplicated key at line 466 ignored: "inodot" Invoke redmine:plugins:migrate (first_time) Invoke environment (first_time) ** Execute environment An error occurred while loading the routes definition of AgileDwarf plugin (/home/ftomassetti/webapps/redmine/redmine/plugins/AgileDwarf/config/routes.rb): You should not use the
match
method in your router without specifying an HTTP method. If you want to expose your action to both GET and POST, addvia: [:get, :post]
option. If you want to expose your action to GET, useget
in the router: Instead of: match "controller#action" Do: get "controller#action".I think you needed to install bundle, which I've done for you. Can you please try the command again?
Hi Nick, it did not change, same error.
Sorry, I tested it myself and did not receive the error at all. Can you please open a support ticket so we can look further into this for you?
I had previously opened a ticket for this but it was not solved
Please re-open the ticket and we will take another look.