You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
Bundling will report that the 'misspelled-gem-name' is not available on "this machine":
$ bundleFetching gem metadata from https://rubygems.org/........Fetching version metadata from https://rubygems.org/..Could not find gem 'misspelled-gem-name (>= 0) ruby' in the gems available on this machine.
I think this message could be improved by adding a line that says the gem could not be found in RubyGems, when the source for a Gemfile includes rubygems.org. For example:
Could not find gem 'misspelled-gem-name (>= 0) ruby' at https://rubygems.org/.
Does anyone else think this is would be a welcome improvement?
For further illustration, this spec fails:
describe"failed bundle install"dobefore:eachdogemfile<<-G source 'https://rubygems.org/' gem "rails" gem "misspelled-gem-name", :group => :development Gendit"should report a helpufl error message"dobundle:installexpect(out).toinclude("Fetching gem metadata from https://rubygems.org/")expect(out).toinclude("Could not find gem 'misspelled-gem-name (>= 0) ruby' at https://rubygems.org/.")endend
Failure/Error: expect(out).to include("Could not find gem 'misspelled-gem-name (>= 0) ruby' at https://rubygems.org/.") expected "Fetching gem metadata from https://rubygems.org/...........\nFetching version metadata from https://rubygems.org/..\nCould not find gem 'misspelled-gem-name (>= 0) ruby' in the gems available on this machine." to include "Could not find gem 'misspelled-gem-name (>= 0) ruby' at https://rubygems.org/."
The text was updated successfully, but these errors were encountered:
Let's say I'm new to Ruby, Rails, Bundler, RubyGems, etc. Clear error messages are a huge help.
Given a Gemfile:
Bundling will report that the 'misspelled-gem-name' is not available on "this machine":
I think this message could be improved by adding a line that says the gem could not be found in RubyGems, when the source for a Gemfile includes rubygems.org. For example:
Could not find gem 'misspelled-gem-name (>= 0) ruby' at https://rubygems.org/.
Does anyone else think this is would be a welcome improvement?
For further illustration, this spec fails:
The text was updated successfully, but these errors were encountered: