[raleigh.rb] RSpec and Ruby on Rails TextMate bundle conflict

Brandan Lennox brandan at bclennox.com
Tue Jun 9 14:24:32 EDT 2009


Hey list,

This might not be the most appropriate place for this question, but I  
figure a lot of you are using TextMate and may have seen this problem.

I can't seem to use the Ruby on Rails bundle and the RSpec bundle at  
the same time. If I have, say, model.rb and model_spec.rb open at the  
same time, they'll both be either RSpec or Ruby on Rails, and  
switching one of them causes both to change. TextMate doesn't seem to  
recognize that _spec.rb is more specific than just .rb, or something.

There's a line in the RSpec language that looks like it should be  
addressing the problem:

   fileTypes = ( '_spec.rb' );

I feel like this worked at some point. I may just need to trash my  
preferences or reinstall the bundles, but if someone has better  
advice, I'm open to it.

Thanks!

Brandan L.
-- 
brandan at bclennox.com
http://www.bclennox.com
+1 (919) 274.7565








More information about the raleigh-rb-members mailing list