Changes to get 4.0.0.rc1 version of rails instead of last version of rails (current 4.1.0) which is not compatible with Mongoid