diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2017-12-28 09:55:58 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2017-12-28 09:55:58 +0900 |
commit | 415f95174e215508dde1d852a1b6d568728f2e95 (patch) | |
tree | 30252bcc4604a5cf04417a227307ced666b97c00 | |
parent | bb6005f57ce0ff279465f2673e7d40a8c50115cd (diff) | |
download | bundler-415f95174e215508dde1d852a1b6d568728f2e95.tar.gz |
To use exe instead of default name. Because bin name is conflict with Ruby 2.5 or later
-rw-r--r-- | spec/commands/binstubs_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/commands/binstubs_spec.rb b/spec/commands/binstubs_spec.rb index 24ee03ec3c..8157173b42 100644 --- a/spec/commands/binstubs_spec.rb +++ b/spec/commands/binstubs_spec.rb @@ -86,7 +86,8 @@ RSpec.describe "bundle binstubs <gem>" do build_repo2 do build_gem "prints_loaded_gems", "1.0" do |s| s.executables = "print_loaded_gems" - s.write "bin/print_loaded_gems", <<-R + s.bindir = "exe" + s.write "exe/print_loaded_gems", <<-R specs = Gem.loaded_specs.values.reject {|s| Bundler.rubygems.spec_default_gem?(s) } puts specs.map(&:full_name).sort.inspect R |