无法推送到heroku - bundler失败

fun*_*dry 4 git deployment ruby-on-rails heroku

git push heroku master使用以下消息进行捆绑程序失败时,我正在尝试将我的rails项目推送到heroku位:

   Bundler Output: Fetching gem metadata from https://rubygems.org/.........
   Fetching additional metadata from https://rubygems.org/..
   Fetching git://github.com/justinfrench/formtastic.git
   Fetching git://github.com/activerecord-hackery/ransack.git
   Fetching git://github.com/gregbell/active_admin.git
   Could not find jwt-0.1.12 in any of the sources
!
!     Failed to install gems via Bundler.
!

!     Push rejected, failed to compile Ruby app

To git@heroku.com:murmuring-mountain-9361.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:murmuring-mountain-9361.git'
Run Code Online (Sandbox Code Playgroud)

似乎jwt是我的一个宝石的依赖,但它在我的本地环境中安装得很好.我尝试gem 'jwt', '0.1.12'在我的gemfile中明确声明,这在本地工作正常,但在heroku上没有,我尝试删除Gemfile.lock并再次生成它.我甚至尝试删除heroku上的app实例并再次创建它.

以下要点是我的gemfile:https://gist.github.com/anonymous/84d3fc00566e036729cd

我在开发环境中使用这个流浪盒:https://github.com/ejholmes/vagrant-heroku

小智 8

如果你在过去几天更新了你的宝石,那么你就会得到一个被淘汰的错误版本.它被重新发布为1.0.0,因为它的API略有不同.我建议使用0.1.11或切换到1.0 ...谢谢,对不起!