bin/calabash-ios-setup.rb in calabash-cucumber-0.9.45 vs bin/calabash-ios-setup.rb in calabash-cucumber-0.9.46
- old
+ new
@@ -44,11 +44,11 @@
puts "After validating, you can generate a features folder:"
puts "Go to your project (the dir containing the .xcodeproj file)."
puts "Then run calabash-ios gen"
puts "(if you don't already have a features folder)."
sleep 2
- system("open #{xpath}")
+ system(%Q[open "#{xpath}"])
end
else
puts "Xcode is running. We'll be changing the project file so we'd better stop it."
@@ -196,10 +196,10 @@
FileUtils.cp(proj_file, "#{proj_file}.bak")
puts "Saved as #{proj_file}.bak"
end
path_to_setup = File.join(File.dirname(__FILE__), 'CalabashSetup')
- setup_cmd = "#{path_to_setup} #{path} #{project_name}"
+ setup_cmd = %Q[#{path_to_setup} "#{path}" "#{project_name}"]
system(setup_cmd)
end
\ No newline at end of file