Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # CIJOE
- # Example CI Joe rackup config. Drop a cijoe.ru file
- # in your projects direct
- require 'cijoe'
- # set the $project_path global
- $project_path = `pwd`.gsub(/\n/, '')
- # setup middleware
- use Rack::CommonLogger
- # configure joe
- CIJoe::Server.configure do |config|
- config.set :project_path, $project_path
- config.set :show_exceptions, true
- config.set :lock, true
- end
- run CIJoe::Server
Add Comment
Please, Sign In to add comment