having a problem with a heroku upload. Quite new to RoR so please excuse the beginners question.
I’m following the Ruby on Rails Tutorial (http://ruby.railstutorial.org), and after the scaffolding, I type heroku rake db:migrate and get the following error:
rake aborted! Please install the postgresql adapter:
gem install(pg is not part of the bundle. Add it
activerecord-postgresql-adapter
to Gemfile.)Tasks: TOP => db:migrate => db:load_config (See full trace by running
task with –trace)
First time around, no problem, but this time I’m getting this error. Any ideas?
Not quite the answer Simone, but after more digging, the answer finally came up. I needed to do the following:
In the gemfile, I needed to change gem ‘sqlite3’ to:
and then I needed to heroku create –stack cedar.
Thanks for your help everyone regardless, and I hope this helps someone in the future.