Sha256: 21fc123cea2803dfb70ba734a48eb65e38130230999db6d2332414feabab7a06

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

#!/usr/bin/env ruby

$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
begin
  require 'vegas'
rescue LoadError
  require 'rubygems'
  require 'vegas'
end  
require 'resque/server'


Vegas::Runner.new(Resque::Server, 'resque-web', {
  :before_run => lambda {|v|
    path = (ENV['RESQUECONFIG'] || v.args.first).strip
    load path if path
  }
})

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
resque-1.3.0 bin/resque-web