Reputation: 174
When i run this command "rails g mongoid:config"
then show this error message
"Could not find generator mongoid:config"
How I can fix this issue? please help me...
I have added gem "mongoid"
and gem "rspec"
in my GemFile
Upvotes: 3
Views: 2995
Reputation: 6015
Edit the GemFile as
gem 'mongoid', git: 'https://github.com/mongoid/mongoid.git'
then run bundle install
Upvotes: 12