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

Rake task depends on Rails

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

      Does it have to be so?

      NameError: uninitialized constant Rails
      /Users/iRonin/.rvm/gems/ruby-2.1.2@global/gems/mongoid-4.0.0/lib/mongoid/railties/database.rake:70:in `block (3 levels) in <top (required)>'
      /Users/iRonin/.rvm/gems/ruby-2.1.2@global/bin/ruby_executable_hooks:15:in `eval'
      /Users/iRonin/.rvm/gems/ruby-2.1.2@global/bin/ruby_executable_hooks:15:in `<main>'
      Tasks: TOP => db:mongoid:create_indexes => db:mongoid:load_models
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            iRonin Cyprian Kowalczyk [X]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: