TextMate File Type Detection for RSpec & Rails

For those of you struggling with TextMate not properly detecting
rspec files, Allan Odgaard (the author of TextMate) has kindly
provided a tutorial on how to set up TextMate to associate all .rb
files with rails and all _spec.rb files with rspec.

http://macromates.com/blog/2007/file-type-detection-rspec-rails

His instructions work great and switching between rspec and rails
files has never been easier.

Carl

Carl P. wrote:

For those of you struggling with TextMate not properly detecting
rspec files, Allan Odgaard (the author of TextMate) has kindly
provided a tutorial on how to set up TextMate to associate all .rb
files with rails and all _spec.rb files with rspec.

File Type Detection (RSpec & Rails)

His instructions work great and switching between rspec and rails
files has never been easier.

Carl
Fantastic! I was just looking for a way to fix that annoying detection
problem.