在 Heroku 上部署 Sidekiq Pro
Deploy Sidekiq Pro on Heroku
这是一个帮助别人的问题,我实际上已经解决了但无法轻易找到答案:
我在使用 Sidekiq Pro 时遇到问题,我找不到如何从 heroku 上的私有 gem 服务器 (contrybsys) 安装 Sidekiq Pro。
Heroku 拒绝我的部署说:
remote : Authentication is required for gems.contribsys.com.
remote: Please supply credentials for this source. You can do this by running:
remote: bundle config gems.contribsys.com username:password
remote: Bundler Output: Authentication is required for gems.contribsys.com.
remote: Please supply credentials for this source. You can do this by running:
remote: bundle config gems.contribsys.com username:password
我在本地安装了 gem。在本地一切正常,但无法部署。
解决方法如下:
heroku config:set BUNDLE_GEMS__CONTRIBSYS__COM=username:password
然后部署
这是一个帮助别人的问题,我实际上已经解决了但无法轻易找到答案:
我在使用 Sidekiq Pro 时遇到问题,我找不到如何从 heroku 上的私有 gem 服务器 (contrybsys) 安装 Sidekiq Pro。
Heroku 拒绝我的部署说:
remote : Authentication is required for gems.contribsys.com.
remote: Please supply credentials for this source. You can do this by running:
remote: bundle config gems.contribsys.com username:password
remote: Bundler Output: Authentication is required for gems.contribsys.com.
remote: Please supply credentials for this source. You can do this by running:
remote: bundle config gems.contribsys.com username:password
我在本地安装了 gem。在本地一切正常,但无法部署。
解决方法如下:
heroku config:set BUNDLE_GEMS__CONTRIBSYS__COM=username:password
然后部署