无法推送到heroku - bundler失败

 o0大大脸么么小小鱼0o 发布于 2023-01-16 11:48

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

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有