[rspec-users] cucumber rake file question
tomcloyd at comcast.net
Thu Jan 15 07:07:53 EST 2009
Real beginner question here. I don't really know rake, so I'm stumbling.
As I set a dir to hold my feature files, etc., I'm simply copying the
files structure I see in
I know we need a Rake file ME little dir tree, but I don't think I can
just copy the one in the examples tree - or rather, I think I have to
alter the first line:
$:.unshift(File.dirname(__FILE__) + '/../../../lib')
I don't know if this is bash or some ruby thing I haven't figured out,
but mostly I don't know what to do with the '/../../../lib') part. It
looks like its trying to locate the source dir, but if so, why not just
specify + 'lib'...? After staring at it a bit, I have to admit I don't
grasp what's going on.
Can someone clue me in?
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< tc at tomcloyd.com >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)
More information about the rspec-users