I'm trying to do a heroku db:migrate with my mySQL database and I'm getting the error/suggestion:
Please install the postgresql adapter: gem install activerecord-postgresql-adapter
(pg is not part of the bundle. Add it to Gemfile.)
I try to put the "gem install activerecord-postgresql-adapter" in my gem-file, but when I run bundle install, I get:
charlotte-dator:showwwdown holgersindbaek$ bundle install
/Users/holgersindbaek/Projekter/Showwwdown/showwwdown/Gemfile:34:in evaluate': undefined local variable or method
activerecord' for # (NameError)
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:17:in build'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler.rb:138:in
definition'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:219:in install'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor/task.rb:22:in
send'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor/task.rb:22:in run'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor/invocation.rb:118:in
invoke_task'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor.rb:263:in dispatch'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor/base.rb:386:in
start'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/bin/bundle:13
from /usr/bin/bundle:19:in `load'
from /usr/bin/bundle:19
Hope you can help. Thanks!