2014-02-27 95 views
4

嗨,我是在做Rails应用程序,当我安装捆绑它返回一个错误:找不到咖啡脚本源1.1.3在任何来源

Could not find coffee-script-source-1.1.3 in any of the sources

我知道coffee-script-source-1.1.3宝石是已弃用/抽搐但我的其他宝石与此有依赖关系。

但这个项目正在与其他机器和heroku生产。 如何在不更改我的gemfile的情况下成功安装该软件包? 感谢

+0

您可以托管自己的宝石来源,并将该来源添加到Gemfile中? – Jokester

回答

12

运行以下命令:

bundle update --source coffee-script-source 

如果你得到一个错误,像这样:

An error occurred while installing rmagick (2.13.1), and Bundler cannot continue. 

运行以下命令:

gem install rmagick 

我希望它会帮助你。

+0

它像一个魅力。谢谢 :) – inquisitive