Skip to content
Browse files

Make release script compatible with Ruby 1.8

  • Loading branch information...
1 parent 05a76de commit 3aff8a3d71a5c968f558172750a2a20165d77bc5 @sferik sferik committed Oct 20, 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 3aff8a3

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