update rails and install mongoid