[TxMt] Re: Rspec test fails in TM, passes in console

steve ross cwdinfo at gmail.com
Thu Aug 5 18:41:35 UTC 2010


On Jul 31, 2010, at 7:39 AM, Les Nightingill wrote:

> What could possibly explain this? Rspec test fails when I run from 
> TextMate but passes when I run from the console.
> 
> I made sure the TM commands are using the same Ruby as the console. 
> The path is the same too.
> 
> what am I missing?
> 
> any insight gratefully received
> 
> Les

Sorry to jump in so late. Try running rake db:test:prepare and then run your spec from TM. It's often an artifact of the prepare step not being part of the TM spec task.

Hope this helps.


More information about the textmate mailing list