Rakefile in rango-0.1.1.1 vs Rakefile in rango-0.1.1.2

- old
+ new

@@ -1,12 +1,22 @@ # encoding: utf-8 +require_relative "lib/rango/version" + +# ENV setup for external commands +ENV["RUBYLIB"] = Dir["vendor/*/lib"].join(":") +$LOAD_PATH.clear.push(*Dir["vendor/*/lib"]) + # http://support.runcoderun.com/faqs/builds/how-do-i-run-rake-with-trace-enabled Rake.application.options.trace = true # default task for RunCodeRun.com task :default => ["submodules:init", :spec] # load tasks Dir["tasks/*.rake"].each do |taskfile| - load taskfile + begin + load File.join(Dir.pwd, taskfile) + rescue Exception => exception + puts exception + end end