Skip to content

Instantly share code, notes, and snippets.

@sanemat
Created April 17, 2010 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanemat/369444 to your computer and use it in GitHub Desktop.
Save sanemat/369444 to your computer and use it in GitHub Desktop.
# To use with thin
# thin start -p PORT -R config.ru
require File.join(File.dirname(__FILE__), 'config', 'preinitializer')
require File.join(File.dirname(__FILE__), 'lib', 'htrsk')
run Htrsk.new :disable=> :run, :environment => :production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment