Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Source does not contain any versions of 'rails-assets-lodash (~> 2.4)

I'm trying to help debug a project. I'm getting a really weird error when I try to run the server. I tried to google the gem but no luck. Anyone have any ideas? I tried bundle install and bundle update.

Here is the actual block of code I'm trying to run.

source 'https://rails-assets.org' do
  # Assets via Bower
  gem 'rails-assets-lodash', '~> 2.4'
  gem 'rails-assets-angular', '~> 1.2'
  gem 'rails-assets-angular-spree', '= 0.0.2'
end

error: Source does not contain any versions of 'rails-assets-lodash (~> 2.4) ruby' Run bundle install to install missing gems.

If I comment out the first gem I get similar error with the gem proceeding it. When I comment out the block it does work though, but I was instructed not to change the environment.

like image 807
Andra Lally Avatar asked Oct 31 '22 10:10

Andra Lally


1 Answers

If you are using Bundler 1.8.0-1.8.2, you are probably hitting this bug: https://github.com/bundler/bundler/issues/3414

This should be fixed in Bundler 1.8.3 (released today).

like image 85
Tim Moore Avatar answered Nov 15 '22 07:11

Tim Moore