Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-3021

`rails generate mongoid:config` warns config/mongoid.yml nonexistent

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.1.4
    • Affects Version/s: None
    • Component/s: None
    • None

      The command rails generate mongoid:config emits a message that config/mongoid.yml is nonexistent.

      This command's purpose is to create that file, so that message is needlessly disconcerting:

      $ rails generate mongoid:config
      
      Mongoid config not found. Create a config file at: config/mongoid.yml
      to generate one run: rails generate mongoid:config
      
            create  config/mongoid.yml
      

      The versions I'm running are:

      $ gem list mongoid
      mongoid (3.1.3)
      $ rails -v
      Rails 3.2.13
      $ ruby -v
      ruby 1.9.3p392 (2013-02-22 revision 39386) [i686-linux]
      

            Assignee:
            durran Durran Jordan
            Reporter:
            MarkDBlackwell MarkDBlackwell [X]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: