From bd15ed6a4562814b9b82a81dd03ab9474f6232b9 Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Tue, 9 Nov 2010 13:10:40 -0500 Subject: [PATCH] Really? "File.exist?", not "File.exists?"? Whatever. --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 8b574aa7..3f600de1 100644 --- a/Rakefile +++ b/Rakefile @@ -93,7 +93,7 @@ jasmine.version_= { downloads_file = 'pages/download.html.md' task :need_pages_submodule do - unless File.exists?(downloads_file) + unless File.exist?(downloads_file) raise "Jasmine pages submodule isn't present. Run git submodule update --init" end end @@ -122,7 +122,7 @@ jasmine.version_= { temp_dir = File.join(Dir.tmpdir, 'jasmine-standalone-project') puts "Building Example Project in #{temp_dir}" - FileUtils.rm_r temp_dir if File.exists?(temp_dir) + FileUtils.rm_r temp_dir if File.exist?(temp_dir) Dir.mkdir(temp_dir) root = File.expand_path(File.dirname(__FILE__))