WebFaction
Community site: login faq

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...
336
accept rate: 0%

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).

(18 Jun '16, 23:54) NickR ♦♦

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:inrequire' /home/ftomassetti/webapps/redmine/redmine/config/boot.rb:4 /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:inrequire' /home/ftomassetti/webapps/redmine/redmine/config/application.rb:1 /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:inrequire' /home/ftomassetti/webapps/redmine/redmine/Rakefile:5 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2382:in load' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2382:inraw_load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in load_rakefile' /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:2015:in load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1999:inrun' /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:1997:inrun' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19

(19 Jun '16, 12:02) Federico Tom...

I 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, add via: [:get, :post] option. If you want to expose your action to GET, use get in the router: Instead of: match "controller#action" Do: get "controller#action".

(19 Jun '16, 12:04) Federico Tom...

I think you needed to install bundle, which I've done for you. Can you please try the command again?

(19 Jun '16, 21:20) NickR ♦♦

Hi Nick, it did not change, same error.

(20 Jun '16, 06:18) Federico Tom...

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?

(20 Jun '16, 06:24) NickR ♦♦

I had previously opened a ticket for this but it was not solved

(20 Jun '16, 06:30) Federico Tom...

Please re-open the ticket and we will take another look.

(20 Jun '16, 06:35) NickR ♦♦
showing 5 of 8 show 3 more comments
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×46

question asked: 17 Jun '16, 06:51

question was seen: 2,946 times

last updated: 20 Jun '16, 06:35

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM