推送到分段服务器时出现Heroku错误
问题描述:
我尝试了一切,我可以在*以及其他一些网站中找到并且我的问题依然存在。推送到分段服务器时出现Heroku错误
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
答
我认为我在你的要点,你试过从Git和删除Gemfile.lock的重新添加它磁头读取。但因为我没有看到,我会假设你忘了提交它:
git add Gemfile.lock
git commit -m "Adding Gemfile.lock"
+0
谢谢,但我确实尝试添加它,谢谢 – 2012-03-29 23:45:59
答
bundle install
git add Gemfile.lock
git commit -am "Updated Gemfile"
git push heroku master
+0
谢谢,但尝试过(几次)仍然没有工作 – 2012-03-30 12:05:14
上你一台Windows机器? – 2012-03-29 22:43:20
不,我不是。 Mac – 2012-03-29 22:51:03
这很奇怪,因为我以前见过这个问题,但他们都必须使用过时版本的捆绑器(特别是1.0.6)。你会尝试运行'gem update bundler'吗?在黑暗中拍摄。 – 2012-03-29 22:57:54