Guest User

Untitled

a guest
May 23rd, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. # CIJOE
  2. # Example CI Joe rackup config. Drop a cijoe.ru file
  3. # in your projects direct
  4. require 'cijoe'
  5.  
  6. # set the $project_path global
  7. $project_path = `pwd`.gsub(/\n/, '')
  8.  
  9. # setup middleware
  10. use Rack::CommonLogger
  11.  
  12. # configure joe
  13. CIJoe::Server.configure do |config|
  14. config.set :project_path, $project_path
  15. config.set :show_exceptions, true
  16. config.set :lock, true
  17. end
  18.  
  19. run CIJoe::Server
Add Comment
Please, Sign In to add comment