Skip to content

Instantly share code, notes, and snippets.

@awd
Created July 21, 2010 16:28
Show Gist options
  • Save awd/484721 to your computer and use it in GitHub Desktop.
Save awd/484721 to your computer and use it in GitHub Desktop.
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment