Skip to content

Instantly share code, notes, and snippets.

@marti1125
Created April 15, 2013 16:09
Show Gist options
  • Save marti1125/5389223 to your computer and use it in GitHub Desktop.
Save marti1125/5389223 to your computer and use it in GitHub Desktop.
error
~/writermortis(master) [email protected] TEST_USER_PASSWORD=123456 TEST_USER_NAME=marti1125 ANON_PASSWORD=123456 rake db:seedrake aborted!
can't dup NilClass
/home/willy/writermortis/db/seeds.rb:9:in `dup'
/home/willy/writermortis/db/seeds.rb:9:in `<top (required)>'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:245:in `load'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:245:in `block in load'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:236:in `load_dependency'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:245:in `load'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/railties-3.2.7/lib/rails/engine.rb:520:in `load_seed'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/activerecord-3.2.7/lib/active_record/railties/databases.rake:309:in `block (2 levels) in <top (required)>'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/home/willy/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
/home/willy/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval'
/home/willy/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => db:seed
(See full trace by running task with --trace)
@parndt
Copy link

parndt commented Apr 15, 2013

$ [email protected] TEST_USER_PASSWORD=123456 TEST_USER_NAME=marti1125 ANON_PASSWORD=123456 rake db:seed
rake aborted!
Validation failed: Password is too short (minimum is 8 characters)
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activerecord-3.2.7/lib/active_record/validations.rb:56:in `save!'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activerecord-3.2.7/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activerecord-3.2.7/lib/active_record/transactions.rb:246:in `block in save!'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activerecord-3.2.7/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activerecord-3.2.7/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activerecord-3.2.7/lib/active_record/transactions.rb:208:in `transaction'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activerecord-3.2.7/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activerecord-3.2.7/lib/active_record/transactions.rb:246:in `save!'
/Users/parndt/sandbox/writermortis/db/seeds.rb:12:in `<top (required)>'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:245:in `load'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:245:in `block in load'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:245:in `load'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/railties-3.2.7/lib/rails/engine.rb:520:in `load_seed'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/activerecord-3.2.7/lib/active_record/railties/databases.rake:309:in `block (2 levels) in <top (required)>'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/Users/parndt/.rvm/gems/ruby-2.0.0-p0@blowmeaway/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
Tasks: TOP => db:seed
(See full trace by running task with --trace)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment