Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 768 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 768 Bytes

heroku_sinatra_mongoid

Short tutorial for getting started on Heroku utilizing Sinatra and Mongoid.

Just type the following to execute:

heroku open

Note: you must add the MongoLab addon (heroku addons:add mongolab) to use the URI variable in mongoid.yml.

Documentation: MongoLab on Heroku and Mongoid.

Feel free to contact me via twitter @c2kc or email chang.christopher@gmail.com if you have any questions or comments!

Errors

If you're getting a sessions error "can't find default", make sure your RACK_ENV is set to production:

heroku config:set RACK_ENV=production