diff options
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| |