无法在任何来源中找到coffee-script-source-1.1.3
嗨,我正在做Rails应用程序,当我捆绑安装时,它返回一个错误:
Could not find coffee-script-source-1.1.3 in any of the sources
我知道coffee-script-source-1.1.3 gem已被弃用/淘汰但我的其他gem与此有依赖关系。
但是这个项目正在与其他机器和heroku生产合作。 如何在不更改gem文件的情况下成功捆绑安装? 谢谢
运行这个:
bundle update --source coffee-script-source
如果您收到错误,请执行以下操作:
An error occurred while installing rmagick (2.13.1), and Bundler cannot continue.
运行这个:
gem install rmagick
我希望它会对你有所帮助。
它对我有用的是将gem 更新为1.2.0 。
正如它在这里显示的那样https://rubygems.org/gems/coffee-script-source/versions 1.1.3说它被猛拉了。
gem 'coffee-script-source', '~> 1.2.0'
并运行
bundle update --source coffee-script-source