danmayer/churn

Install from Master branch doesn't seem to load bzr support

allenwyma opened this issue · 1 comments

F, [2011-10-12T11:39:50.155303 #47049] FATAL -- : no such file to load -- bzr_analyzer (LoadError)
/Users/allenwyma/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in gem_original_require' /Users/allenwyma/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:inrequire'
/Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/churn-0.0.13/bin/../lib/churn/churn_calculator.rb:13
/Users/allenwyma/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in gem_original_require' /Users/allenwyma/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:inrequire'
/Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/churn-0.0.13/bin/churn:19:in report_churn' /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/churn-0.0.13/bin/churn:28:inrun!'
/Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/main-4.6.0/lib/main/program/class_methods.rb:155:in run' /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/main-4.6.0/lib/main/program/class_methods.rb:144:incatch'
/Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/main-4.6.0/lib/main/program/class_methods.rb:144:in run' /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/main-4.6.0/lib/main/factories.rb:18:inrun'
I installed mercurial from gem install mercurial, then pulled the master branch and reinstalled the gem from buildling the gemspec from the mast branch source and it doesn't seem to load up the bzr analyzer library. Anyone else having this problem?

/Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/main-4.6.0/lib/main/factories.rb:25:in Main' /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/churn-0.0.13/bin/churn:6 /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/bin/churn:19:inload'
/Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/bin/churn:19
/Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/metric_fu-2.1.1/lib/generators/churn.rb:24:in to_h': undefined method[]' for false:FalseClass (NoMethodError)
from /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/metric_fu-2.1.1/lib/base/generator.rb:134:in generate_report' from /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/metric_fu-2.1.1/lib/base/report.rb:60:inadd'
from /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/metrical-0.0.7/lib/metrical.rb:51:in run_metric_fu' from /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/metrical-0.0.7/lib/metrical.rb:51:ineach'
from /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/metrical-0.0.7/lib/metrical.rb:51:in run_metric_fu' from /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/metrical-0.0.7/lib/metrical.rb:18:inrun'
from /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/gems/metrical-0.0.7/bin/metrical:4
from /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/bin/metrical:19:in `load'
from /Users/allenwyma/.rvm/gems/ruby-1.8.7-p352/bin/metrical:19

I just pushed a new release which should resolve this issue.