How to fix uninitialized constant Rake::DSL error
in Rakefile, add the following line:
require 'rake/dsl_definition'
right before
require 'rake'
in Rakefile, add the following line:
require 'rake/dsl_definition'
right before
require 'rake'
Comments (2)
Somer to How to fix uninitialized constant Rake::DSL error
Paul you saved my time, thank you.
over 12 years ago
Piyush Gupta to How to fix uninitialized constant Rake::DSL error
better use 0.8.7 version of rake , no need to do the above .
gemlock file
--------------------
rake (0.8.7)
PLATFORMS
x86-mingw32
DEPENDENCIES
mysql
rails (= 3.0.10)
rake (= 0.8.7)
gem file
------------
gem 'rake', '0.8.7'
Will work for sure .
over 12 years ago
Click here to leave a comment