I am working on a RoR3 tutorial and I am in chapter 6 when I tried the rakedb: migrate command . I got a message:
rake is interrupted! undefined prerequisite method for nil: NilClass
I ignored the changes to the Gemfile as it already installed sqlite3. When I changed it to 'sqlite3-ruby', '1.2.5': required => 'sqlite3' , I received the message ActiveRecord :: ConnectionNotEstablished when I tried to view the page locally. So, I just decided not to make this change.
I am using lion os, ruby 1.9.2p290, rails 3.1.0.rc8. thank!
jebek source
share