Skip to content

Commit 53738b6

Browse files
Ben VandenBosdefunkt
authored andcommitted
Fixing resque-web: RESQUECONFIG should be load'ed not eval'ed
1 parent 6d1edb8 commit 53738b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/resque-web

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ require 'resque/server'
1313
Vegas::Runner.new(Resque::Server, 'resque-web', {
1414
:before_run => lambda {|v|
1515
path = (ENV['RESQUECONFIG'] || v.args.first).strip
16-
v.load_config_file(path) if path
16+
load path if path
1717
}
18-
})
18+
})

0 commit comments

Comments
 (0)