当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'
似乎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