推送到登台服务器时Heroku错误

时间:2012-03-29 22:26:26

标签: ruby-on-rails heroku bundler

我已尝试过在StackOverflow以及其他一些网站上找到的所有内容,但我的问题仍然存在。

Gemfile detected, running Bundler version 1.0.7
   Unresolved dependencies detected; Installing...
   Using --without development:test
   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:
   * libnotify
   * rb-inotify

   You have deleted from the Gemfile:
   * growl
   * rb-fsevent

这是我尝试过的和我的Gemfile https://gist.github.com/2244347

2 个答案:

答案 0 :(得分:1)

我以为我会在你的Gist中读到你试图从你的git中删除Gemfile.lock并重新添加它。但是因为我没有看到我会假设你忘记了它:

git add Gemfile.lock
git commit -m "Adding Gemfile.lock"

答案 1 :(得分:0)

bundle install

git add Gemfile.lock

git commit -am "Updated Gemfile"

git push heroku master