features/step_definitions/gem.rb in luislavena-rake-compiler-0.3.0 vs features/step_definitions/gem.rb in luislavena-rake-compiler-0.3.1

- old
+ new

@@ -22,8 +22,9 @@ "#{folder}/#{name}-#{version}.gem" end def gem_file_platform(folder, name, version, platform = nil) file = "#{folder}/#{name}-#{version}" - file << "-" << (platform || Gem::Platform.local.to_s) + file << "-" << (platform || Gem::Platform.new(RUBY_PLATFORM).to_s) file << ".gem" + file end