Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View sinatra.cgi
1 2 3 4 5 6 7 8 9 10 11
#!/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
Something went wrong with that request. Please try again.