Closed freakent closed 15 years ago
As a work around, I created an empty hirb.yml in my rails app's config directory. c:\InstantRails\rails_apps\app\config\hirb.yml
Great, thanks for the solution! I've just met the same problem.
this bug has been fixed with version 0.2.6
Hi,
I've installed the Hirb gem on my Windows development machine but I get an error when I try to enable hirb.
1) C:\InstantRails\rails_apps\app>gem install cldwalker-hirb --source http://gems.github.com
2) C:\InstantRails\rails_apps\app>ruby script/console Loading development environment (Rails 2.3.4)
3) require 'hirb' => []
4) Hirb.enable TypeError: can't convert nil into String from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/cldwalker-hirb-0.2.5/lib/hirb.rb:44:in
join' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/cldwalker-hirb-0.2.5/lib/hirb.rb:44:in
config_file' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/cldwalker-hirb-0.2.5/lib/hirb.rb:52:inread_config_file' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/cldwalker-hirb-0.2.5/lib/hirb.rb:57:in
config' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/cldwalker-hirb-0.2.5/lib/hirb/view.rb:186:indefault_config' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/cldwalker-hirb-0.2.5/lib/hirb/view.rb:170:in
load_config' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/cldwalker-hirb-0.2.5/lib/hirb/view.rb:30:inenable' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/cldwalker-hirb-0.2.5/lib/hirb.rb:35:in
enable' from (irb):2:inirb_binding' from C:/InstantRails/ruby/lib/ruby/1.8/irb/workspace.rb:52:in
irb_binding' from C:/InstantRails/ruby/lib/ruby/1.8/irb/workspace.rb:52 Maybe IRB bug!!