bin/clockwork in clockwork-0.5.1 vs bin/clockwork in clockwork-0.5.2
- old
+ new
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
STDERR.sync = STDOUT.sync = true
-require File.expand_path('../../lib/clockwork', __FILE__)
+require 'clockwork'
usage = "clockwork <clock.rb>"
file = ARGV.shift or abort usage
file = "./#{file}" unless file.match(/^[\/.]/)