Ruby 将GitHub repo部署到Heroku时出现Gemfile错误
我想把我的车推给赫罗库 显然我的档案不正确。我已经检查了两次,没有发现任何打字错误或任何东西,但它抱怨rb inotify被添加和删除 这是日志:Ruby 将GitHub repo部署到Heroku时出现Gemfile错误,ruby,heroku,jekyll,Ruby,Heroku,Jekyll,我想把我的车推给赫罗库 显然我的档案不正确。我已经检查了两次,没有发现任何打字错误或任何东西,但它抱怨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 ven
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
请尽可能将问题的内容放在问题中,不要作为指向不稳定外部资源的链接。已修复。但是格式看起来很糟糕。“您正在更改Gemfile后尝试在部署模式下安装。”部分帮助是否有帮助?没有,我不确定这需要什么。您可以尝试删除
Gemfile.lock
,然后再次运行捆绑安装。推入正确的版本。