Skip to content

Instantly share code, notes, and snippets.

@rkitover
Created March 12, 2013 16:56
Show Gist options
  • Save rkitover/5144687 to your computer and use it in GitHub Desktop.
Save rkitover/5144687 to your computer and use it in GitHub Desktop.
#!/home/rkitover/.rvm/rubies/ruby-2.0.0-p0/bin/ruby
require 'sinatra/base'
class MyApp < Sinatra::Base
get '/' do
'Hello, World!'
end
end
Rack::Handler::CGI.run MyApp.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment