生产捆绑安装后出错

时间:2014-12-16 07:04:26

标签: ruby-on-rails rake

每次我使用捆绑安装在生产中安装gem时都会出现此错误

Could not find rake-10.4.2 in any of the sources (Bundler::GemNotFound)

当我进行捆绑安装时,我也收到以下警告

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.

我尝试删除Gemfile.lock并重新安装了gem,但它仍无法正常工作

提前致谢。

0 个答案:

没有答案