Skip to content

Instantly share code, notes, and snippets.

View ijonas's full-sized avatar

Ijonas Kisselbach ijonas

View GitHub Profile
require "resque"
require "resque/failure/multiple"
require "resque/failure/redis"
require 'exceptional'
# Configure Resque connection from config/resque.yml. This file should look
# something like:
# development: localhost:6379
# test: localhost:6379:15
# production: localhost:6379
class AppServerConfig
attr_accessor :port, :admin_password
end
class Configuration
attr_accessor :tail_logs, :max_connections, :admin_password
def initialize
@app_server_config = AppServerConfig.new
end