update mongoid to 4.0.0.beta1 and other gems