A barebones Rails app, which can easily be deployed to Heroku.
This application support the Getting Started with Ruby on Heroku article - check it out.
Make sure you have Ruby installed. Also, install the Heroku Toolbelt.
$ git clone git@github.com:heroku/ruby-getting-started.git
$ cd ruby-getting-started
$ bundle install
$ rake db:create db:migrate
$ foreman start web
Your app should now be running on localhost:5000.
$ heroku create
$ git push heroku master
$ heroku run rake db:migrate
$ heroku open
For more information about using Ruby on Heroku, see these Dev Center articles: