Skip to content

Instantly share code, notes, and snippets.

@jamesgecko
Created May 10, 2011 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesgecko/964581 to your computer and use it in GitHub Desktop.
Save jamesgecko/964581 to your computer and use it in GitHub Desktop.
rails generate migration error
c:\Users\james\code\test>rails generate migration RemoveDateCalled
NoMethodError: undefined method `[]=' for nil:NilClass
Application at c:/Users/james/code/test/config/application.rb:43
Test at c:/Users/james/code/test/config/application.rb:10
(root) at c:/Users/james/code/test/config/application.rb:9
require at org/jruby/RubyKernel.java:1038
(root) at c:/Users/james/code/test/config/application.rb:15
require at org/jruby/RubyKernel.java:1038
(root) at script/rails:6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment