Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make release script compatible with Ruby 1.8

  • Loading branch information...
commit 3aff8a3d71a5c968f558172750a2a20165d77bc5 1 parent 05a76de
Erik Michaels-Ober sferik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tasks/all.rb
2  tasks/all.rb
View
@@ -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.