2014-02-27 96 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