Question

I am trying to create Sinatra based heroku app without any luck?

Was it helpful?

Solution

To answer your question: Yes!

For reference: http://docs.heroku.com/rack#sinatra

OTHER TIPS

The sinatra application should be as you always do but on the root of your application you should include a config file named config.ru

It basically says:

require 'application' run

Sinatra::Application

There is a new, slightly different procedure for deploying Sinatra (and other Ruby) apps on Heroku/Cedar which involves "foreman" (and a Procfile)... see getting started guide for Ruby:

http://devcenter.heroku.com/articles/ruby

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top