summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2018-03-02 09:29:43 +0000
committerAlyssa Ross <hi@alyssa.is>2018-03-02 09:29:43 +0000
commitceef0184bcb34faeabaabc6dac57a5c40708d2ab (patch)
treeb1f7f48fbd5efdd08ca8d646a3cffbc62cca6e32
parentbcb11bf6b62c6fb75e9c1eace00717dc8b31cda4 (diff)
downloadbundler-ceef0184bcb34faeabaabc6dac57a5c40708d2ab.tar.gz
Further tweak yanked gem error message
-rw-r--r--lib/bundler/definition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index 54def12653..8122fae192 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -175,7 +175,7 @@ module Bundler
raise GemNotFound, "Your bundle is locked to #{locked_gem}, but that version could not " \
"be found in any of the sources listed in your Gemfile. If you haven't changed sources, " \
"that means the author of #{locked_gem} has removed it. You'll need to update your bundle " \
- "to a different version of #{gem_name} that hasn't been removed in order to install."
+ "to a version other than #{locked_gem} that hasn't been removed in order to install."
end
unless specs["bundler"].any?
bundler = sources.metadata_source.specs.search(Gem::Dependency.new("bundler", VERSION)).last