James M. Lawrence
2010-06-07 16:26:42 UTC
task :default do
end
extra = "Rakefile.extra"
File.open(extra, "w") { |f| f.puts "p SPEC" }
SPEC = 99
# OK in rake-0.8.7; error in rake-0.8.99 (uninitialized constant SPEC)
load extra
# OK in rake-0.8.99; error in rake-0.8.7 (load_rakefile not present)
load_rakefile extra
Is this the expected behavior?
end
extra = "Rakefile.extra"
File.open(extra, "w") { |f| f.puts "p SPEC" }
SPEC = 99
# OK in rake-0.8.7; error in rake-0.8.99 (uninitialized constant SPEC)
load extra
# OK in rake-0.8.99; error in rake-0.8.7 (load_rakefile not present)
load_rakefile extra
Is this the expected behavior?