resources/tools/rakehelp.rb in gem_plugin-0.2.1 vs resources/tools/rakehelp.rb in gem_plugin-0.2.2
- old
+ new
@@ -91,10 +91,11 @@
spec = base_gem_spec(pkg_name, pkg_version)
yield spec if block_given?
Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
- p.need_tar = true
+ # win32 chokes on this
+ p.need_tar = true if RUBY_PLATFORM !~ /mswin/
end
end
def setup_win32_gem(pkg_name, pkg_version)
spec = base_gem_spec(pkg_name, pkg_version)