diff --git a/lib/create.rb b/lib/create.rb index 868d8817..75925372 100644 --- a/lib/create.rb +++ b/lib/create.rb @@ -29,7 +29,7 @@ class Create < Classic @content = 'index.html' # stop executation on errors - raise 'Expected index.html in the following folder #{ path }.\nThe path is expected to be the directory droidgap create is run from or specified as a command line arg like droidgap create my_path.' unless File.exists? File.join(path, 'index.html') + raise "Expected index.html in the following folder #{ path }.\nThe path is expected to be the directory droidgap create is run from or specified as a command line arg like droidgap create my_path." unless File.exists? File.join(path, 'index.html') raise 'Could not find android in your PATH!' if @android_sdk_path.empty? end