Skip to content

Instantly share code, notes, and snippets.

@grigio
Created June 9, 2013 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grigio/5743671 to your computer and use it in GitHub Desktop.
Save grigio/5743671 to your computer and use it in GitHub Desktop.
Minimal Sinatra app app.rb + config.ru + Gemfile for Openshift, test locally with "rackup"
require 'sinatra'
get '/' do
"Hello world"
end
$LOAD_PATH << '.'
require 'rubygems'
require './app'
run Sinatra::Application
source "https://rubygems.org"
gem 'sinatra'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment