diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-09-27 22:23:57 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-09-27 22:23:57 -0500 |
commit | cf668f8092be600619fcac5dbcc91072621b0509 (patch) | |
tree | 698a980abe526cc3573e592b10000b6de50ef719 /spec/support/builders.rb | |
parent | c3b69668529ff9bbdd923f89fd0758418998dc37 (diff) | |
download | bundler-cf668f8092be600619fcac5dbcc91072621b0509.tar.gz |
Add a setting for forcing only the ruby platform
Diffstat (limited to 'spec/support/builders.rb')
-rw-r--r-- | spec/support/builders.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/builders.rb b/spec/support/builders.rb index 7436779d15..16ced2b920 100644 --- a/spec/support/builders.rb +++ b/spec/support/builders.rb @@ -79,8 +79,8 @@ module Spec end build_gem "platform_specific" do |s| - s.platform = Gem::Platform.local - s.write "lib/platform_specific.rb", "PLATFORM_SPECIFIC = '1.0.0 #{Gem::Platform.local}'" + s.platform = Bundler.local_platform + s.write "lib/platform_specific.rb", "PLATFORM_SPECIFIC = '1.0.0 #{Bundler.local_platform}'" end build_gem "platform_specific" do |s| |