Make gem play nice with rails.
Merge pull request #20 from johnotander/master

Make gem play nice with rails.