The bare minimum required to run a static site on Heroku, served by Rack.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
public
Gemfile
Gemfile.lock
README.md
config.ru

README.md

To install rubygem dependencies

Run the command:

bundle install

This should install each of the ruby gems listed in Gemfile.

To run this static site locally

The serve gem lets you quickly spin up a local web server. This command will serve the contents of the public/ directory from http://localhost:4000:

bundle exec serve public

To deploy this static site to Heroku

Replace 'rack-static-starter' with the name you want to use for your site:

heroku create rack-static-starter
git push heroku master

Now open up http://rack-static-starter.heroku.com in your browser.

Presto!