Skip to content

Instantly share code, notes, and snippets.

@jeffreyiacono
Created January 28, 2012 23:14
Show Gist options
  • Save jeffreyiacono/1696203 to your computer and use it in GitHub Desktop.
Save jeffreyiacono/1696203 to your computer and use it in GitHub Desktop.
sample sinatra config.ru that mounts multiple apps
require 'rubygems'
require 'bundler'
Bundler.require
require './app1'
require './app2'
map '/app1' do
run App1
end
map '/app2' do
run App2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment