Skip to content

Instantly share code, notes, and snippets.

@hcayless
Created October 31, 2011 21:12
Show Gist options
  • Save hcayless/1328970 to your computer and use it in GitHub Desktop.
Save hcayless/1328970 to your computer and use it in GitHub Desktop.
migration error
13928:
ready
ready
rake aborted!
An error has occurred, all later migrations canceled:
private method `gsub' called for nil:NilClass
/usr/local/rvm/rubies/jruby-1.6.2/lib/ruby/1.8/cgi.rb:342:in `escape'
./db/migrate//20110811204557_escape_comments.rb:5:in `up'
org/jruby/RubyArray.java:1602:in `each'
./db/migrate//20110811204557_escape_comments.rb:4:in `up'
org/jruby/RubyKernel.java:2059:in `send'
/data/papyri.info/sosol/editor/vendor/rails/activerecord/lib/active_record/migration.rb:282:in `migrate'
/usr/local/rvm/rubies/jruby-1.6.2/lib/ruby/1.8/benchmark.rb:293:in `measure'
/data/papyri.info/sosol/editor/vendor/rails/activerecord/lib/active_record/migration.rb:282:in `migrate'
org/jruby/RubyKernel.java:2063:in `send'
/data/papyri.info/sosol/editor/vendor/rails/activerecord/lib/active_record/migration.rb:365:in `migrate'
/data/papyri.info/sosol/editor/vendor/rails/activerecord/lib/active_record/migration.rb:491:in `migrate'
org/jruby/RubyProc.java:268:in `call'
org/jruby/RubyProc.java:228:in `call'
/data/papyri.info/sosol/editor/vendor/rails/activerecord/lib/active_record/migration.rb:567:in `ddl_transaction'
/data/papyri.info/sosol/editor/vendor/rails/activerecord/lib/active_record/migration.rb:490:in `migrate'
org/jruby/RubyArray.java:1602:in `each'
/data/papyri.info/sosol/editor/vendor/rails/activerecord/lib/active_record/migration.rb:477:in `migrate'
/data/papyri.info/sosol/editor/vendor/rails/activerecord/lib/active_record/migration.rb:401:in `up'
/data/papyri.info/sosol/editor/vendor/rails/activerecord/lib/active_record/migration.rb:383:in `migrate'
/data/papyri.info/sosol/editor/vendor/rails/railties/lib/tasks/databases.rake:112:in `(root)'
org/jruby/RubyProc.java:268:in `call'
org/jruby/RubyProc.java:228:in `call'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
org/jruby/RubyArray.java:1602:in `each'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/usr/local/rvm/rubies/jruby-1.6.2/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
org/jruby/RubyArray.java:1602:in `each'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/local/rvm/gems/jruby-1.6.2@global/gems/rake-0.8.7/bin/rake:31:in `(root)'
org/jruby/RubyKernel.java:1063:in `load'
/usr/local/rvm/gems/jruby-1.6.2@global/bin/rake:19:in `(root)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment