diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2018-02-13 14:25:26 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2018-02-13 14:25:26 +0900 |
commit | cf5dd0e6a35ddfc554f705099dfba207c3b54583 (patch) | |
tree | 91cbceceb8b6e7bcfe3a492e8a37e651e8e2364d | |
parent | 298c4b421d3c8006a254b9ba52241ef9f30fa853 (diff) | |
download | bundler-fixed-default-gems-1-16-1.tar.gz |
Comment for fake version of binstub examplesfixed-default-gems-1-16-1
-rw-r--r-- | spec/commands/binstubs_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/commands/binstubs_spec.rb b/spec/commands/binstubs_spec.rb index ed8ff9544d..ba50699ab1 100644 --- a/spec/commands/binstubs_spec.rb +++ b/spec/commands/binstubs_spec.rb @@ -100,6 +100,9 @@ RSpec.describe "bundle binstubs <gem>" do bundle! "binstubs bundler rack prints_loaded_gems" end + # When environment has a same version of bundler as default gems. + # `system_gems "bundler-x.y.z"` will detect system binstub. + # We need to avoid it by virtual version of bundler. let(:system_bundler_version) { Gem::Version.new(Bundler::VERSION).bump.to_s } context "when system bundler was used" do |