From 1711fb07d777160fdbde8f6d6bc2deace1a1464f Mon Sep 17 00:00:00 2001 From: Fil Maj Date: Wed, 16 Feb 2011 16:26:01 -0800 Subject: [PATCH] Small patch to build script: ruby needs double quotes to interpolate variables into it properly. --- lib/create.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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