欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Passenger无法加载github源的gem包问题

程序员文章站 2022-05-19 20:21:56
...
添加github的项目源之后,项目在产品模式下报错,使用的是passenger来启动的项目

It looks like Bundler could not find a gem. This is probably because your
application is being run under a different environment than it's supposed to.
Please check the following:

 * Is this app supposed to be run as the `***此处省略***` user?
 * Is this app being run on the correct Ruby interpreter? Below you will
   see which Ruby interpreter Phusion Passenger attempted to use.
 * Are you using RVM? Please check whether the correct gemset is being used.
 * If all of the above fails, try resetting your RVM gemsets:
   https://github.com/phusion/passenger/wiki/Resetting-RVM-gemsets

-------- The exception is as follows: -------
Could not find ***** in any of the sources (Bundler::GemNotFound)


解决方案:

bundle install --deployment
相关标签: rails passenger