diff options
Diffstat (limited to 'spec/bundler/support/helpers.rb')
-rw-r--r-- | spec/bundler/support/helpers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb index a46292665b..058c7a893d 100644 --- a/spec/bundler/support/helpers.rb +++ b/spec/bundler/support/helpers.rb @@ -302,10 +302,10 @@ module Spec spec = Gem::Specification.load(gemspec.to_s) spec.bindir = "libexec" File.open(root.join("bundler.gemspec").to_s, "w") {|f| f.write spec.to_ruby } - Dir.chdir(root) { gem_command! :build, root.join("bundler.gemspec").to_s } + Dir.chdir(root) { gem_command! :build, root.join("bundler.gemspec") } FileUtils.rm(root.join("bundler.gemspec")) else - Dir.chdir(root) { gem_command! :build, gemspec.to_s } + Dir.chdir(root) { gem_command! :build, gemspec } end bundler_path = root.join("bundler-#{Bundler::VERSION}.gem") elsif g.to_s =~ %r{\A(?:[A-Z]:)?/.*\.gem\z} |