Guest User

Untitled

a guest
May 25th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. begin
  2. # Try to require the preresolved locked set of gems.
  3. require ::File.expand_path('.bundle/environment', __FILE__)
  4. rescue LoadError
  5. # Fall back on doing an unlocked resolve at runtime.
  6. require "rubygems"
  7. require "bundler"
  8. Bundler.setup
  9. end
  10.  
  11. require 'ruote-kit'
  12.  
  13. RuoteKit.configure do |config|
  14. config.register do
  15. catchall
  16. end
  17. config.run_worker = false
  18. end
  19.  
  20. use Rack::CommonLogger
  21. use Rack::Lint
  22. #use Rack::ShowExceptions
  23.  
  24. run RuoteKit::Application
Add Comment
Please, Sign In to add comment