bin/caboodle in caboodle-0.2.8 vs bin/caboodle in caboodle-0.2.9
- old
+ new
@@ -9,6 +9,12 @@
args = ARGV.dup
ARGV.clear
command = args.shift.strip rescue 'help'
-Caboodle::Command.run(command, args)
+git_path = `which git`
+if git_path.blank?
+ puts "Sorry - you don't appear to have git installed or in your path"
+ puts "Please set up git and try again: http://github.com"
+else
+ Caboodle::Command.run(command, args)
+end
\ No newline at end of file