herokuへのpushでfailed to compile Ruby/rails appとでる
以下メッセージがでておこられる
git push heroku master
Counting objects: 105, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (88/88), done.
Writing objects: 100% (105/105), 30.95 KiB, done.
Total 105 (delta 12), reused 0 (delta 0)
Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.
You have added to the Gemfile:
* pg
You have deleted from the Gemfile:
* sqlite3
!
! Failed to install gems via Bundler.
!
! Heroku push rejected, failed to compile Ruby/rails app
ちゃんとgemfileのsqlite3もマニュアル通りpgに書き換えたのに。。。
もう一度順をおって行う
bundle install
git add .
git commit -m "muripo"
git push heroku master
うまく行った。
なんかすっとばしてたのか
heroku run rake db:migrate
heroku run console
で実行
やった。。。動いたよ。。。