public
Created

  • Download Gist
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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.