Hi!
This issue has been bugging for quite some builds now. When using a newer TextMate build, the current 1202 e.g., I can't get the test cases of my Rails project to run from inside TextMate. This is what I get when I try Command-R:
---- snip ---- RubyMate r4532 running Ruby v1.8.4 (/opt/local/bin/ruby)
content_controller_test.rb
that’s nice this is my important stuff <strong>bad!</strong> I am <at> the exit! NameError: uninitialized constant Test method const_missing in dependencies.rb at line 123 method const_missing in dependencies.rb at line 133 method load_plugin in init.rb at line 1 method load_plugin in initializer.rb at line 348 method silence_warnings in reporting.rb at line 11 method load_plugin in initializer.rb at line 348 method load_plugins in initializer.rb at line 158 method load_plugins in initializer.rb at line 158 method process in initializer.rb at line 102 method run in initializer.rb at line 42 at top level in environment.rb at line 10 at top level in test_helper.rb at line 2 at top level in content_controller_test.rb at line 1 Program exited. ---- snap ----
Obviously it isn't able to load the test classes correctly. My Ruby installation is in /opt/local, installed with DarwinPorts, and all it's libraries are installed there as well. I had a look at the RubyMate code in the bundle, but on first look it doesn't appear to be broken somehow. This stuff worked fine in TextMate build 1112 with RubyMate r3391, though I realized a lot has changed in RubyMate since then ;)
Any ideas? Or anyone else having similar issues?
Cheers, Mathias
On Aug 12, 2006, at 6:44 AM, Mathias Meyer wrote:
Obviously it isn't able to load the test classes correctly. My Ruby installation is in /opt/local, installed with DarwinPorts, and all it's libraries are installed there as well.
I'm betting this is the issue, though I'm struggling to see how this is causing problems. Anyway, I'm happy to troubleshoot it with you so we can get a fix into RubyMate.
Why don't you email me off-list and we will see if we can sort this out...
James Edward Gray II