【发布时间】:2015-05-01 20:07:41
【问题描述】:
我正在尝试在 pushion 乘客集成上部署一个新的 rails 应用程序作为 Apache Mod 并总是收到以下错误:
Could not find byebug-4.0.5 in any of the sources.
如果在 Gemfile.lock 中的注释锁定此依赖项,则会收到 coffe-script 的另一条错误消息。而且我评论我得到什么依赖:
Could not find **whatever** in any of the sources.
我的环境是:
- ruby 2.2.2p95(2015-04-13 修订版 50295)[x86_64-linux]
- 导轨 4.2.1
- 乘客 5.0.7
- 服务器版本:Apache/2.4.7 (Ubuntu) 服务器搭建时间:2015 年 3 月 10 日 13:05:59
对于我刚刚做的应用程序...
rails new testapp
bundle install
并配置一个新的 VirtualHost 链接到 testapp 中的公用文件夹。
感谢您的支持。
【问题讨论】:
-
Gemfile.lock中的 gem 版本是否与运行bundle install时正在安装的版本相同? -
是的,在 gem 列表中出现从 de bundle install 安装的 4.0.5。与 Gemfile.lock 相同。
标签: ruby-on-rails ruby apache passenger