我正在使用Rails应用程序,我似乎无法将我的应用程序推送到Heroku。我已成立了一切,并使用git但每次我把它推到Heroku的我得到这个:不能推到Heroku
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:
* therubyracer (>= 0.8.2)
* libnotify
* rb-inotify
You have deleted from the Gemfile:
* growl
* rb-fsevent
FAILED: http://devcenter.heroku.com/articles/bundler
! Heroku推拒绝,未能通过Bundler安装宝石
我注意到我的gem版本是1.0.11,但heroku推送使用的是运行Bundler版本1.0.7。我不知道这是否有所作为,但我不知道如何回到旧版本。
感谢您的任何帮助。
我试过这个,甚至尝试重新开始并添加Gemfile.lock文件,但它仍然给出了上述错误。 – acmeyer9
这是一个非常古老的答案,但你可以给它一个镜头:http://stackoverflow.com/a/4302327/560803 –
谢谢,我看到了那一个。我尝试将ffi更新到版本1.0.11,而不是我目前拥有的1.0.9。但是,我发现了另一个可能导致问题的问题。在我的Gemfile中,根据服务器的操作系统设置不同的运行方式,在Linux机器上添加rubyracer等。这可能是问题吗?我在开发中使用Mac,并不确定这是否会影响推送,因为它似乎是导致错误的那些文件。 – acmeyer9