what will we do when we get error–uninitialized constant Rake::DSL

at the time of rake db:create

add    require ‘rake/dsl_definition’  above require ‘rake’  in your rakefile

uninitialized constant Rake::DSL

Leave a Reply

Your email address will not be published.