Rake db:migrate throws unexpected error

Working with rails for the first time and I getting a rake error when I
try:
rake db:migrate RAILS_ENV=staging

The Error:
(in [my current directory])
rake aborted!
undefined method `symbolize_keys’ for nil:NilClass

Has anyone seen this?

View this message in context:
http://old.nabble.com/rake-db%3Amigrate-throws-unexpected-error-tp27676889p27676889.html
Sent from the RubyOnRails Users mailing list archive at Nabble.com.

danwoods wrote:

The Error:
(in [my current directory])
rake aborted!
undefined method `symbolize_keys’ for nil:NilClass

Given that nil does not implement symbolize_keys you need to know where
you’re ending up with a nil.

Have your run your rake task with the --trace option to see if you get a
backtrace that will show you where to look?

rake --trace db:migrate RAILS_ENV=staging

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs