在heroku上部署rails app

ear*_*art 4 ruby deployment ruby-on-rails heroku

我正在学习RoR并尝试将我的测试应用程序部署到heroku接收下一个错误:

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
Run Code Online (Sandbox Code Playgroud)

!Heroku推被拒绝,未能通过Bundler安装宝石

请!救命!

Nei*_*ton 7

你有没有提交你的Gemfile.lock?

bundle install 
git add Gemfile.lock
git commit -am "Add lock file"
git push heroku master
Run Code Online (Sandbox Code Playgroud)