Skip to content

Instantly share code, notes, and snippets.

Created Jun 9, 2013
What would you like to do?
Minimal Sinatra app app.rb + + Gemfile for Openshift, test locally with "rackup"
require 'sinatra'
get '/' do
"Hello world"
$LOAD_PATH << '.'
require 'rubygems'
require './app'
run Sinatra::Application
source ""
gem 'sinatra'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment