terra-yucco / sinatra_enpit

0 stars 0 forks source link

ローカルでは動くのにherokuで動かなくてPush Rejectされる #7

Open terra-yucco opened 8 years ago

terra-yucco commented 8 years ago

原因究明と対処をしたい。

vagrant@enpit:~/sinatra_enpit$ git push heroku master
Counting objects: 14, done.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 1.67 KiB | 0 bytes/s, done.
Total 11 (delta 2), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rack
remote: -----> Using Ruby version: ruby-2.2.4
remote: -----> Installing dependencies using bundler 1.11.2
remote:        Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote:        Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
remote:        You are trying to install in deployment mode after changing
remote:        your Gemfile. Run `bundle install` elsewhere and add the
remote:        updated Gemfile.lock to version control.
remote:        You have added to the Gemfile:
remote:        * sinatra-contrib
remote:        Bundler Output: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
remote:        You are trying to install in deployment mode after changing
remote:        your Gemfile. Run `bundle install` elsewhere and add the
remote:        updated Gemfile.lock to version control.
remote:
remote:        You have added to the Gemfile:
remote:        * sinatra-contrib
remote:  !
remote:  !     Failed to install gems via Bundler.
remote:  !
remote:  !     Push rejected, failed to compile Ruby app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to fathomless-forest-46566.
remote:
To https://git.heroku.com/fathomless-forest-46566.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/fathomless-forest-46566.git'
vagrant@enpit:~/sinatra_enpit$
terra-yucco commented 8 years ago

一度reloaderを使わないようにして対処しました。 授業でも話題にあがっていたので、何かの対処がこの後にありそう。