On Wed, Aug 21, 2013 at 1:25 AM, Marius Mårnes Mathiesen <marius.mathie...@gmail.com> wrote: > Ken Dreyer writes: > >> Hi folks, >> >> I finally added the Ruby 1.9.3 buildslave to the gitorious project in >> Jenkins. The test suite is currently failing because activesupport is >> trying to search for "tmp/cache", and that directory is not present in >> a clean Git checkout. I.e: >> >> Errno::ENOENT: No such file or directory - /path/to/gitorious/tmp/cache/ >> >> What is the best way to handle this? Brainstorming some options: >> >> A) add an empty tmp/cache to Git? >> >> B) run mkdir -p tmp/cache during each Jenkins build? >> >> C) add Ruby code for this somewhere in Gitorious? (would this go into >> one of the Rake tasks?) > > I would definitely go for option C - this should be part of the setup > process for the test in question. Which test causes this to fail?
Since this email thread in August, I ran into a shortage of free time to debug this issue further. As a stop-gap I put "mkdir -p tmp/cache" into the Jenkins job. Mainline is now passing again :-) https://ci.gitorious.org/jenkins/job/mainline/ If we can ever figure out what is going on and determine the best place to do this in the code itself, we can remove the "mkdir" line from the Jenkins configuration. - Ken -- -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Gitorious" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitorious+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.