summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-07-15 22:25:06 -0700
committerSamuel E. Giddins <segiddins@segiddins.me>2015-07-15 22:25:06 -0700
commit2fc5cf0fc0b543156c94be9b92f03c2cad802726 (patch)
tree1e3b9a15bb22e258c7b0feb0847bf25d01c6fbc0
parentd80265c48439b4843fc33915af8a772f8078bfdc (diff)
downloadbundler-2fc5cf0fc0b543156c94be9b92f03c2cad802726.tar.gz
[Installer] Fix standalone
The rubocop comment can be reverted after https://github.com/bbatsov/rubocop/pull/2042 is merged
-rw-r--r--lib/bundler/installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index 432cdd0107..29d41bad4f 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -232,7 +232,7 @@ module Bundler
spec.require_paths.each do |path|
full_path = File.join(spec.full_gem_path, path)
gem_path = Pathname.new(full_path).relative_path_from(Bundler.root.join(bundler_path))
- paths << gem_path.to_s.sub("#{Bundler.ruby_version.engine}/#{RbConfig::CONFIG["ruby_version"]}", "#{ruby_engine}/#{ruby_version}")
+ paths << gem_path.to_s.sub("#{Bundler.ruby_version.engine}/#{RbConfig::CONFIG["ruby_version"]}", '#{ruby_engine}/#{ruby_version}') # rubocop:disable Style/StringLiterals
end
end