Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploying rails app on heroku

I'm learning RoR and trying to deploy my test app to heroku receiving next error:

Unresolved dependencies detected; Installing...
   Using --without developmen
   You have modified your Gemfile in development but did not check
   the resulting snapshot (Gemfile.lock) into version control

   You have added to the Gemfile:
   * therubyracer (~> 0.9.3.beta1)
   * pg
   FAILED: http://devcenter.heroku.com/articles/bundler

! Heroku push rejected, failed to install gems via Bundler

Please! Help!

like image 817
earsonheart Avatar asked Jan 17 '23 00:01

earsonheart


1 Answers

Have you committed your Gemfile.lock?

bundle install 
git add Gemfile.lock
git commit -am "Add lock file"
git push heroku master
like image 95
Neil Middleton Avatar answered Jan 22 '23 11:01

Neil Middleton