rake aborted! cannot load such file -- dispatcher
Added by Lawrence Krubner almost 12 years ago
Redmine 2.2.3
Rails 3.2.12
Ruby 1.9.3
Centos 6.3
If I run:
bundle exec rake db:migrate
I get:
rake aborted!
cannot load such file -- dispatcher
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `block in require'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in `load_dependency'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require'
If I run:
gem env
I get:
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.25
- RUBY VERSION: 1.9.3 (2013-02-06 patchlevel 385) [x86_64-linux]
- INSTALLATION DIRECTORY: /usr/local/rvm/gems/ruby-1.9.3-p385
- RUBY EXECUTABLE: /usr/local/rvm/rubies/ruby-1.9.3-p385/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/rvm/gems/ruby-1.9.3-p385/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /usr/local/rvm/gems/ruby-1.9.3-p385
- /usr/local/rvm/gems/ruby-1.9.3-p385@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
Replies (2)
RE: rake aborted! cannot load such file -- dispatcher - Added by Ivan Cenov almost 12 years ago
dispatcher is not a part of rails 3.2.x. Check your plugins, may be some of them are too old.
RE: rake aborted! cannot load such file -- dispatcher - Added by Lawrence Krubner almost 12 years ago
Looks like "Dispatcher" was part of redmine_charts. I tried to re-write that plugin to bring it up to date, but in the end I had to give up. There have been no commits on that project in 2 years, and it is very out of date.