Friday, May 9, 2008

RSpec on textmate

While working with Sreekanth V, we came across a peculiar problem with Textmate. For the *_spec.rb, the bundle need to be changed to the RSpec on textmate so that that particular test can be run as a spec otherwise it would throw the environment error. So we changed the *_spec.rb files to *.spec and associated the RSpec bundle to fileType *.spec. To make the rake spec task to work we changed the rspec.rake file to include 'spec/**/*.spec' in all the file lists e.g.

t.spec_files = FileList['spec/**/*_spec.rb', 'spec/**/*.spec']

Friday, May 2, 2008

IntelliJ Editor pane looks like Textmate

Insipred by the VibrantInk theme used in Textmate, I have created a similar colors and fonts scheme for IntelliJ. I am using monaco font for this scheme.