diff options
author | Erick Sasse <esasse@gmail.com> | 2015-07-20 18:15:59 -0300 |
---|---|---|
committer | Erick Sasse <esasse@gmail.com> | 2015-07-20 18:15:59 -0300 |
commit | 3e5b19f38ac60ea656883fb49af0b8b59ef3edce (patch) | |
tree | ad5e9c0dcbbc53d229c302ac6ea7aaeb3072353c /lib/bundler/source/path.rb | |
parent | 336919ada2c14ddec49419529a30f268bed11da4 (diff) | |
download | bundler-3e5b19f38ac60ea656883fb49af0b8b59ef3edce.tar.gz |
Fix Lint/StringConversionInInterpolation
Diffstat (limited to 'lib/bundler/source/path.rb')
-rw-r--r-- | lib/bundler/source/path.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/source/path.rb b/lib/bundler/source/path.rb index a1d821d1..4cd7361d 100644 --- a/lib/bundler/source/path.rb +++ b/lib/bundler/source/path.rb @@ -69,7 +69,7 @@ module Bundler end def install(spec, force = false) - Bundler.ui.info "Using #{version_message(spec)} from #{to_s}" + Bundler.ui.info "Using #{version_message(spec)} from #{self}" generate_bin(spec, :disable_extensions) nil # no post-install message end @@ -80,7 +80,7 @@ module Bundler return if expand(@original_path).to_s.index(Bundler.root.to_s) == 0 unless @original_path.exist? - raise GemNotFound, "Can't cache gem #{version_message(spec)} because #{to_s} is missing!" + raise GemNotFound, "Can't cache gem #{version_message(spec)} because #{self} is missing!" end FileUtils.rm_rf(app_cache_path) |