Skip to content

Instantly share code, notes, and snippets.

@tosch
Created May 19, 2010 09:03
Show Gist options
  • Save tosch/406108 to your computer and use it in GitHub Desktop.
Save tosch/406108 to your computer and use it in GitHub Desktop.
begin
# Try to require the preresolved locked set of gems.
require ::File.expand_path('.bundle/environment', __FILE__)
rescue LoadError
# Fall back on doing an unlocked resolve at runtime.
require "rubygems"
require "bundler"
Bundler.setup
end
require 'ruote-kit'
RuoteKit.configure do |config|
config.register do
catchall
end
config.run_worker = false
end
use Rack::CommonLogger
use Rack::Lint
#use Rack::ShowExceptions
run RuoteKit::Application
source :gemcutter
gem 'ruote-kit'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment