Older gems

Changed rails and other gems usage to older versions in an attempt to
make app compatible with Heroku