Ruby on Rails, Shoulda, RSpec and The Damned AutoTest ... And blankly staring idiots.
New Project ...
Once again, i got to the point where i'm starting a new project and setting up all the de-facto gems and plugins and generators and stuff... among them... yeah... rspec+shoulda+autotest ....
config.gems
Having nicely setup haml --rails ., and script/generate rspec, I type at the prompt "autotest", and there I stare stupidly blankly waiting for something to happen, and then it hits me... Oh damn! I have to add that environment variable for autotest to work with rspec, but, what the hell was it? was it "RAILS=true autotest"?, or was it "SPEC=true autotest"....?
RSPEC=true autotest
As always this post is just a self reminder and an ode to my ever-repeating never-DRY mind:
RSPEC=true autotest
There it is.
Thanks for reading.

0 comments:
Post a Comment