Skip to content

Instantly share code, notes, and snippets.

@brynary
Created December 9, 2009 17:02
Show Gist options
  • Save brynary/252605 to your computer and use it in GitHub Desktop.
Save brynary/252605 to your computer and use it in GitHub Desktop.
Warbler.framework_detection = false
Warbler::Config.new do |config|
# Files to be included in the webapp.
config.dirs = %w[app lib config vendor/gems/dirs vendor/gems/gems vendor/gems/specifications]
config.includes << "vendor/gems/environment.rb"
config.webxml.booter = :rack
config.webxml.rackup = File.read("config.ru")
config.webxml.jruby.max.runtimes = 1 # Run threadsafe! ;-D
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment