add mongoid and regarding config file. add ruby version