Loosing the hard dependency on rails

For some reason I can not run the tests locally, so I'm hoping that travis is happy with my changes.