Skip to content

Instantly share code, notes, and snippets.

@jfernandez
Created February 8, 2011 20:55
Show Gist options
  • Save jfernandez/817217 to your computer and use it in GitHub Desktop.
Save jfernandez/817217 to your computer and use it in GitHub Desktop.
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
require 'resque/server'
run Rack::URLMap.new \
"/" => Mailto::Application,
"/resque" => Resque::Server.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment