[rspec-users] mystery problem with svn post-commit script running rspec tests

Joe Van Dyk joevandyk at gmail.com
Sat Jun 9 03:42:17 EDT 2007

So, just spent seven straight hours on this.

I have a post-commit svn script that runs all my tests.  Emails me if
something goes wrong.

One of the lines looks like:
  @output = `rake test RAILS_ENV=test`

The output from the rspec tests don't seem to appear in @output.  Why
would that be?  Oddly enough, that only seems to happen when the
script is ran from svn's post-commit hook.  When I run the script
manually, the rspec test results show up in @output.


More information about the rspec-users mailing list