将GitHub存储库部署到Heroku时出现Gemfile错误

时间:2016-03-28 14:50:13

标签: ruby heroku jekyll

我正在尝试将GitHub repo推送到Heroku。

显然我的Gemfile不正确。我已经检查了两次,并且没有找到任何拼写错误或任何内容,但它抱怨rb-inotify被添加和删除。

这是日志:

Ruby app detected
Compiling Ruby
Using Ruby version: ruby-2.2.4
Installing dependencies using bundler 1.11.2
      Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
      You are trying to install in deployment mode after changing
      your Gemfile. Run `bundle install` elsewhere and add the
      updated Gemfile.lock to version control.
      You have added to the Gemfile:
      * rb-inotify
      You have deleted from the Gemfile:
      * rb-inotify
      Bundler Output: You are trying to install in deployment mode after changing
      your Gemfile. Run `bundle install` elsewhere and add the
      updated Gemfile.lock to version control.

      You have added to the Gemfile:
      * rb-inotify

      You have deleted from the Gemfile:
      * rb-inotify
!
!     Failed to install gems via Bundler.
!
!     Push rejected, failed to compile Ruby app

0 个答案:

没有答案