Skip to content

chrisckchang/heroku_sinatra_mongoid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Setup for running Sinatra + Mongoid on Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages