Downgrading rails Gemfile

* Rails from 4.1.1 to 4.0.4