cjwoodward’s posterous

« Back to blog

Paperclip, cucumber and cucumber bundle

I just spent the last couple of hours trying to figure out why my cucumber feature which uploads a file to s3 using paperclip wasn't working.

It turns out that the path is used when running a textmate command is different to path when you start a terminal session. I haven't found the reason for this but as a quick fix I added:

. /etc/profile

to the run feature and run single scenario commands in my textmate bundles. I will endevour to do some more research into this for a better solution.

Comments (0)

Leave a comment...

 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     Connect     twitter