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

odd number list for Hash

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

      Getting a syntax error in my Ruby app due to mongoid. Stack trace below:

      /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286@global/gems/bundler-1.2.1/lib/bundler/runtime.rb:68:in `require': /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286/bundler/gems/mongoid-fe1f9b725eff/lib/mongoid.rb:163: odd number list for Hash (SyntaxError)
          { to: Config }))
               ^
      /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286/bundler/gems/mongoid-fe1f9b725eff/lib/mongoid.rb:163: syntax error, unexpected ':', expecting '}'
          { to: Config }))
               ^
      	from /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286@global/gems/bundler-1.2.1/lib/bundler/runtime.rb:68:in `require'
      	from /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286@global/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in `each'
      	from /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286@global/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in `require'
      	from /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286@global/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in `each'
      	from /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286@global/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in `require'
      	from /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286@global/gems/bundler-1.2.1/lib/bundler.rb:128:in `require'
      	from /Users/raybesiga/Documents/Sites/occassions/config/application.rb:13
      	from /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/commands.rb:53:in `require'
      	from /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/commands.rb:53
      	from /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/commands.rb:50:in `tap'
      	from /Users/raybesiga/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/commands.rb:50
      	from script/rails:6:in `require'
      	from script/rails:6
      

      What could be the issue?

            Assignee:
            durran Durran Jordan
            Reporter:
            raybesiga raybesiga
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: