bin/resque-ranger in resque-ranger-0.1.1 vs bin/resque-ranger in resque-ranger-0.1.2

- old
+ new

@@ -102,11 +102,11 @@ option :pid_file do short '-p' long '--pid_file' desc 'Path to the pid file' cast String - default nil + default 'tmp/pids/resque-ranger.pid' end separator '' separator 'Common options: ' @@ -116,10 +116,12 @@ end end ENV['RACK_ENV'] = ENV['RAILS_ENV'] = Choice.choices[:environment] +Resque.redis = Redis.new(Choice.choices[:redis]) + Raemon::Runner.queues = Choice.choices[:queues] -Raemon::Runner.start 5, Resque::Ranger, :detach => @detach, - :timeout => Choice.choices[:timeout], - :logger => Choice.choices[:logger], - :pid_file => Choice.choices[:pid_file] +Raemon::Runner.start Choice.choices[:workers], Resque::Ranger, :detach => @detach, + :timeout => Choice.choices[:timeout], + :logger => Choice.choices[:logger], + :pid_file => Choice.choices[:pid_file] \ No newline at end of file