Skip to content

Instantly share code, notes, and snippets.

@rondinif rondinif/config.ru

Created Apr 29, 2013
Embed
What would you like to do?
root = File.dirname(__FILE__) # => "."
require File.join( root, 'sample_app' ) # => true
run Sample # ..in sample_app.rb ..class Sample < Sinatra::Base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.