Help, rake db:migrate:plugin gives me mysql2 error
Added by alaca kala about 13 years ago
Hi
FInally after 5 days of struggle I was able to install Redmine2. Everything works except when I try to install plugins. I am stuck and not sure where to go from here. So I am hoping that someone can shed some light on this issue
/var/www/redmine_manual# RAILS_ENV=production rake db:migrate:plugin NAME=redmine_milestones rake aborted! Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (mysql2 is not part of the bundle. Add it to Gemfile.) Tasks: TOP => db:migrate:plugin => redmine:plugins:migrate => environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [i486-linux]
- INSTALLATION DIRECTORY: /var/lib/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /var/lib/gems/1.9.1/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /var/lib/gems/1.9.1
- /root/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["http://rubygems.org/", "https://rubygems.org"]
- REMOTE SOURCES:
- http://rubygems.org/
- https://rubygems.org
I am on Debian Squeeze 32 bit. I installed all the ruby stuff through standard apt. I am using the git redmine.
My Gemfile is the one that comes with the current git version. My database.yaml is using "mysql2" as adapter. As I mentioned the site seems to work fine.
thanks
Replies (1)
RE: Help, rake db:migrate:plugin gives me mysql2 error
-
Added by alaca kala about 13 years ago
I also applied to the fix I had previously that was described by Etienne and that did not solve it this time.