Sha256: 51e361e87ba1c677ae442f751f42f68501d81a970dd36b8378a76101331f9022

Contents?: true

Size: 418 Bytes

Versions: 2

Compression:

Stored size: 418 Bytes

Contents

#!/usr/bin/env ruby
require 'logger'

$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/lib')
require 'resque/server'

# Set the RESQUECONFIG env variable if you've a `resque.rb` or similar
# config file you want loaded on boot.
if ENV['RESQUECONFIG'] && File.exists?(File.expand_path(ENV['RESQUECONFIG']))
  load File.expand_path(ENV['RESQUECONFIG'])
end

use Rack::ShowExceptions
run Resque::Server.new

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
resque-1.2.3 config.ru
resque-1.2.1 config.ru