ruby-sample

This is a barebones Ruby app using the Sinatra framework.

Running Locally

Make sure you have Ruby, Bundler and the Heroku Toolbelt installed.

git clone git@github.com:heroku/ruby-sample.git # or clone your own fork
cd ruby-sample
bundle
heroku local

Your app should now be running on localhost:5000.

Deploying to Heroku

heroku create
git push heroku master
heroku open

Alternatively, you can deploy your own copy of the app using the web-based flow:

Deploy to Heroku

Documentation

For more information about using Ruby on Heroku, see these Dev Center articles: