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

时间:2023-01-21 00:16:31

I have tried everything that I can find in * as well as some other sites and my problem still exists.

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

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

Here is what I've tried and my Gemfile https://gist.github.com/2244347

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

2 个解决方案

#1


1  

I thought that I head read in your Gist that you tried removing Gemfile.lock from your git and re-adding it. But since I don't see that I'm going to assume that you forgot to commit it:

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

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

#2


0  

bundle install

捆绑安装

git add Gemfile.lock

git添加Gemfile.lock

git commit -am "Updated Gemfile"

git commit -am“更新了Gemfile”

git push heroku master

git push heroku master

#1


1  

I thought that I head read in your Gist that you tried removing Gemfile.lock from your git and re-adding it. But since I don't see that I'm going to assume that you forgot to commit it:

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

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

#2


0  

bundle install

捆绑安装

git add Gemfile.lock

git添加Gemfile.lock

git commit -am "Updated Gemfile"

git commit -am“更新了Gemfile”

git push heroku master

git push heroku master