Bundler+metric_fu customs configuration (not rails) - after changing default folder, still creating the default folder tmp

Hi folks,

I'm trying to configure the rake file in order to change the default folder
for metric_fu.

I would like to have all the output results in a single folder. I would to
change the default folder "tmp/metric_fu".

The project uses bundler. The problem is that after doing the changes in the
configuration metric_fu still generating the tmp folder.

Here's the configuration done for bundler:

*my_project.gem_spec*

*# -*- encoding: utf-8 -*-*
*$:.push File.expand_path("../lib", __FILE__)*
*require "my_project/version"*

ยทยทยท

*
*
*Gem::Specification.new do |s|*
* s.name = "my_project"*
* s.version = MyProject::VERSION*
* s.platform = Gem::Platform::RUBY*
* s.authors = ["Pablo Quiros"]*
* s.email = ["paqs140482@gmail.com"]*
* s.homepage = "my_project | RubyGems.org | your community gem host"*
* s.summary = %q{bla bla}*
* s.description = %q{bla bla}*
*
*
* s.rubyforge_project = "my_project"*
*
*
* s.require_paths = ["lib"]*
*
*
* s.add_development_dependency "rspec"*
* s.add_development_dependency "rspec-core"*
*
*
* s.add_development_dependency "metric_fu"*
* s.add_development_dependency "reek"*
* s.add_development_dependency "roodi"*
* s.add_development_dependency "googlecharts"*
*
*
* *
*end*

*Rakefile*

*require 'bundler'*
*Bundler::GemHelper.install_tasks*
*require 'metric_fu'*
*
*
*ROOT = File.dirname(__FILE__)*
*ROOT_METRIC_FU = ROOT + '/metric_fu'*
*
*
*MetricFu::Configuration.run do |config|*
* config.base_directory = ROOT_METRIC_FU*
* config.scratch_directory = "#{ROOT_METRIC_FU}/data/scratch"*
* config.output_directory = "#{ROOT_METRIC_FU}/reports"*
* config.data_directory = "#{ROOT_METRIC_FU}/data/_data"*
* config.metrics = [:churn, :flog, :flay, :reek, :roodi, :rcov, :saikuro]
*
*end*

I'm calling rake like this: "bundle exec rake metrics:all"

Here's the folder structure after calling metrics_fu. In bold is the folder
generated after changing default path values.

my_project/

-- Gemfile
-- Gemfile.lock
-- Rakefile
-- my_project.gemspec
-- lib
  >-- my_project
  > `-- version.rb
  `-- my_projectr.rb
-- metric_fu
  >-- data
  > >-- _data
  > > `-- 20101105.yml
  > `-- scratch
  > >-- churn
  > >-- flay
  > >-- flog
  > >-- rcov
  > > `-- rcov.txt
  > >-- reek
  > >-- roodi
  > `-- saikuro
  >-- report.yml
  `-- reports
      >-- bluff-min.js
      >-- churn.html
      >-- excanvas.js
      >-- flay.html
      >-- flay.js
      >-- flog.html
      >-- flog.js
      >-- index.html
      >-- js-class.js
      >-- rails_best_practices.js
      >-- rcov.html
      >-- rcov.js
      >-- reek.html
      >-- reek.js
      >-- roodi.html
      >-- roodi.js
      `-- saikuro.html
-- spec

*`-- tmp*
* `-- metric_fu*
* `-- scratch*
* `-- saikuro*
* |-- index_cyclo.html*
* `-- lib*
* |-- ift_ll2_retriever*
* | `-- version.rb_cyclo.html*
* `-- ift_ll2_retriever.rb_cyclo.html*

Thanks!

--
Pablo Q.