diff options
author | Andre Arko <andre@arko.net> | 2015-08-01 16:09:59 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-08-01 16:09:59 -0700 |
commit | a5fb3671252eb20c0e83d6fc25a1386daaf6ffbf (patch) | |
tree | 81a095266bca685ce0cd4fb9440c07ce8e5a5c04 | |
parent | 8afd3906c1ea82fb570d087def8f4c562c9c5d01 (diff) | |
download | bundler-a5fb3671252eb20c0e83d6fc25a1386daaf6ffbf.tar.gz |
only run extension standalone specs on 2.4+
The separate extensions directory was introduced in RubyGems 2.4.
-rw-r--r-- | spec/install/gems/standalone_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/gems/standalone_spec.rb b/spec/install/gems/standalone_spec.rb index f9e066fcfb..ad1f3eda70 100644 --- a/spec/install/gems/standalone_spec.rb +++ b/spec/install/gems/standalone_spec.rb @@ -53,7 +53,7 @@ describe "bundle install --standalone" do G end - it "generates a bundle/bundler/setup.rb with the proper paths" do + it "generates a bundle/bundler/setup.rb with the proper paths", :rubygems => "2.4" do extension_line = File.read(bundled_app("bundle/bundler/setup.rb")).each_line.find {|line| line.include? "/extensions/" }.strip expect(extension_line).to start_with '$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/extensions/' expect(extension_line).to end_with '/very_simple_binary-1.0"' |