Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update release task for Ruby 1.8.7 compatibility

  • Loading branch information...
commit 70e7552f0770c089654369f7dc5779334478dfe4 1 parent c0b6f06
@sferik sferik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tasks/all.rb
View
2  tasks/all.rb
@@ -34,7 +34,7 @@ def version
task :build => :clean do
cd dir
sh "gem build #{gemspec}"
- mkdir_p package_dir unless Dir.exists?(package_dir)
+ mkdir_p package_dir unless File.directory?(package_dir)
mv gem, "#{package_dir}/#{gem}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.