In RSpec file, if I run Command-R, I get the following error:
/Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/ Support/lib/text_mate_formatter.rb:5: uninitialized constant Spec::Runner::Formatter::HtmlFormatter (NameError) from /usr/local/lib/ ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `require' from /Library/Application Support/ TextMate/Bundles/Ruby RSpec.tmbundle/Support/lib/spec_mate.rb:14 from / tmp/temp_textmate.zl6ZPP:3:in `require' from /tmp/temp_textmate.zl6ZPP:3
I'm using Ruby RSpec bundle from the latest macromates svn repos. I can't find HtmlFormatter class(?).
Any help would be appreciated.
Takaaki
On May 11, 2008, at 9:02 AM, Takaaki Kato wrote:
In RSpec file, if I run Command-R, I get the following error:
/Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/ Support/lib/text_mate_formatter.rb:5: uninitialized constant Spec::Runner::Formatter::HtmlFormatter (NameError) from /usr/local/ lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/ rubygems/custom_require.rb:27:in `require' from /Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/Support/lib/ spec_mate.rb:14 from /tmp/temp_textmate.zl6ZPP:3:in `require' from / tmp/temp_textmate.zl6ZPP:3
I'm using Ruby RSpec bundle from the latest macromates svn repos. I can't find HtmlFormatter class(?).
Any help would be appreciated.
I believe this error comes from using a version of RSpec that doesn't match the version of the bundle. Try using the bundle in the RSpec repository instead.
Hope that helps.
James Edward Gray II