Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- begin
- # Try to require the preresolved locked set of gems.
- require ::File.expand_path('.bundle/environment', __FILE__)
- rescue LoadError
- # Fall back on doing an unlocked resolve at runtime.
- require "rubygems"
- require "bundler"
- Bundler.setup
- end
- require 'ruote-kit'
- RuoteKit.configure do |config|
- config.register do
- catchall
- end
- config.run_worker = false
- end
- use Rack::CommonLogger
- use Rack::Lint
- #use Rack::ShowExceptions
- run RuoteKit::Application
Add Comment
Please, Sign In to add comment