Skip to content

Instantly share code, notes, and snippets.

@abhishek0
Created August 9, 2013 09:50
Show Gist options
  • Save abhishek0/6192508 to your computer and use it in GitHub Desktop.
Save abhishek0/6192508 to your computer and use it in GitHub Desktop.
** Invoke db:seed (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:seed
Default users
rake aborted!
undefined method `push' for nil:NilClass
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/bindings/referenced/in.rb:29:in `bind_one'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/binding.rb:38:in `binding'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/threaded/lifecycle.rb:55:in `_binding'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/binding.rb:37:in `binding'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/bindings/referenced/in.rb:22:in `bind_one'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/proxy.rb:25:in `bind_one'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/referenced/in.rb:25:in `initialize'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/proxy.rb:41:in `init'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/referenced/in.rb:23:in `initialize'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/accessors.rb:44:in `create_relation'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/accessors.rb:26:in `__build__'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/accessors.rb:269:in `parent='
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/accessors.rb:175:in `without_autobuild'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/relations/accessors.rb:263:in `parent='
/home/abhishek/mine/code/infocus/backend-ror/db/seeds.rb:4:in `(root)'
org/jruby/RubyKernel.java:1073:in `load'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:1:in `(root)'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
org/jruby/RubyProc.java:255:in `call'
/home/abhishek/.rvm/gems/jruby-1.7.4/bundler/gems/mongoid-85e146637503/lib/mongoid/railties/database.rake:18:in `(root)'
org/jruby/RubyArray.java:1617:in `each'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/task.rb:236:in `execute'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/task.rb:175:in `invoke_with_call_chain'
/home/abhishek/.rvm/rubies/jruby-1.7.4/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
org/jruby/RubyArray.java:1617:in `each'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/application.rb:106:in `top_level'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/application.rb:106:in `top_level'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/application.rb:78:in `run'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/home/abhishek/.rvm/gems/jruby-1.7.4/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
org/jruby/RubyKernel.java:1073:in `load'
/home/abhishek/.rvm/gems/jruby-1.7.4/bin/rake:23:in `(root)'
Tasks: TOP => db:seed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment