Search overlay panel for performing site-wide searches

Salesforce (Heroku) Recognized as a Leader. Learn More!

newfeatures rack sinatra merb

The past eighteen months have seen an explosion of Rails-inspired Ruby web frameworks. Merb and Sinatra are the best known; plus many others such as Ramaze , Camping, and Waves .

That’s why we’re so pleased to announce the ability to deploy any Rack-compatible web app to Heroku.

Assuming you have a Heroku account , here’s how you can deploy a Sinatra app in about 30 seconds. Make a new directory, and inside create hello.rb:

require ‘rubygems’
require ‘sinatra’

get ‘/’ do
“Hello from Sinatra on Heroku!”
end

Then create a config.ru file in the same directory:

Subscribe to the full-text RSS feed for Adam Wiggins.