Fixed the dependency def: dependency to rails was causing the latest rails gem to be loaded. Also removed the gem binary from repo