lib/poolparty/tasks.rb in auser-poolparty-0.0.8 vs lib/poolparty/tasks.rb in auser-poolparty-0.0.9
- old
+ new
@@ -17,10 +17,10 @@
def setup_application
PoolParty.options({:config_file => (ENV["CONFIG_FILE"] || ENV["config"]) })
end
# Require the poolparty specific tasks
- Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].each { |t| eval open(t).read }
+ Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].each { |t| load t }
Dir["#{PoolParty.plugin_dir}/*/Rakefile"].each {|t| load "#{t}" }
true
end
\ No newline at end of file