Skip to content

Instantly share code, notes, and snippets.

@dudleyf
Created September 9, 2011 18:44
Show Gist options
  • Save dudleyf/1206996 to your computer and use it in GitHub Desktop.
Save dudleyf/1206996 to your computer and use it in GitHub Desktop.
BPM Preview config.ru
require 'rubygems'
require 'bundler/setup'
require 'rack'
require 'bpm'
map '/assets' do
run BPM::Pipeline.new(BPM::Project.new('.'), 'debug', true)
end
map '/' do
run Rack::Directory.new '.'
end
rackup -S thin -P 4020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment