Bundle install error: Source does not contain any versions of Bundle install error: Source does not contain any versions of ruby-on-rails ruby-on-rails

Bundle install error: Source does not contain any versions of


As Marcelo mentioned, I got same error and it was a stupid thing:

gemspec file

Gem::Specification.new do |s| s.name = 'niche_wir_theme'  ....

Gem file (include)

gem 'niche-wir-theme', :git => ....

As you can see in my gemspec i named using ("_") underscore and on my gemfile i was trying to call it with "-" (dash)...

(palmface) so just take care of the name notation, the one you are declaring at gemspec file against the one you use for the call in the gem file of the other project are probably different


I ran into a similar problem with Rails 4.2. In my case it was another stupid mistake. It appears that if you leave "TODO" or "FIXME" in the comments in gemspec file, it will reject that gem and will throw the same error. Be sure to read the output of bundle command.


The gemspec file as named simplemenu.gemspec instead of simple_menu.gemspec.