rbind to 'lib/**/*.rb' 'rake spec'
rbind to 'lib/**/*.rb' -e 'system \"rake spec\"'
diff --git a/bin/rbind b/bin/rbind
index 79bc0c6..faa9ebd 100644
--- a/bin/rbind
+++ b/bin/rbind
@@ -18,7 +18,9 @@ command :to do |c|
c.example 'Bind to a file, and a directory of files', "rbind to stylesheets style.css -e 'puts file.path'"
c.example 'Run specs when ruby files are modified', "rbind to 'lib/**/*.rb' -e 'system \"rake spec\"'"
c.action do |args, options|
- abort 'invalid option. --eval switch is required in order to perform any action on the bound file(s)' unless options.eval
+ unless options.eval
+ options.eval = "system('#{args.pop}')"
+ end
common_options options
options.paths = args
listener(options).run!