On Mon, Jun 7, 2010 at 12:40 PM, Luis Lavena <[email protected]> wrote: > > What about Rake.import?
The issue is whether breaking load was intended. Rake.import is not
interchangeable with load.
task :default do
end
extra = "Rakefile.extra"
File.open(extra, "w") { |f| f.puts "SPEC = 99" }
# need load instead
import extra
p SPEC # => uninitialized constant
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel
