Permalink
Browse files

Update release task for Ruby 1.8.7 compatibility

  • Loading branch information...
1 parent c0b6f06 commit 70e7552f0770c089654369f7dc5779334478dfe4 @sferik sferik committed Sep 3, 2011
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

0 comments on commit 70e7552

Please sign in to comment.