当前位置:首页 > 开发 > 编程语言 > 版本管理工具 > 正文

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

发表于: 2014-07-07   作者:hotsunshine   来源:转载   浏览:
摘要: 添加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 suppose
添加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

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

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号