Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update release task for Ruby 1.8.7 compatibility

  • Loading branch information...
commit 70e7552f0770c089654369f7dc5779334478dfe4 1 parent c0b6f06
Erik Michaels-Ober authored September 03, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  tasks/all.rb
2  tasks/all.rb
@@ -34,7 +34,7 @@ def version
34 34
     task :build => :clean do
35 35
       cd dir
36 36
       sh "gem build #{gemspec}"
37  
-      mkdir_p package_dir unless Dir.exists?(package_dir)
  37
+      mkdir_p package_dir unless File.directory?(package_dir)
38 38
       mv gem, "#{package_dir}/#{gem}"
39 39
     end
40 40
 

0 notes on commit 70e7552

Please sign in to comment.
Something went wrong with that request. Please try again.