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

北慕城南 提交于 2019-12-22 06:39:14

问题


Hi I'm doing Rails app and when I bundle install it returns an error:

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

I know that coffee-script-source-1.1.3 gem is deprecated/yanked but my other gems are having dependencies with this.

But this project is working with other machine and in heroku production. How can I successfully bundle install this without changing my gemfile? Thanks


回答1:


Run this:

bundle update --source coffee-script-source

If you get an error, like this:

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

Run this:

 gem install rmagick

I hope it'll help you.




回答2:


What it worked for me was to update the gem to 1.2.0.

As it shows here https://rubygems.org/gems/coffee-script-source/versions 1.1.3 says that it's yanked.

gem 'coffee-script-source', '~> 1.2.0'

And run

bundle update --source coffee-script-source


来源:https://stackoverflow.com/questions/22063061/could-not-find-coffee-script-source-1-1-3-in-any-of-the-sources

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!