Looking at the code
<https://github.com/jruby/jruby/blob/3a3d2c6f9394e43f5b337d2e2c96e8ec8ebca34a/lib/ruby/stdlib/tmpdir.rb#L26>,
I can see the tmpdir module is sniffing around for possible temp dir
locations that is writable and bailing out because it could not determine
one.

Perhaps try setting variables TMPDIR/TMP/TEMP to a location that's writable
by the gocd process.

- Ketan


On Sun, Oct 25, 2020 at 10:02 AM Foo JH <[email protected]> wrote:

> Running go-agent-20.8.0-12213 on FreeBSD 12.1-RELEASE.
> go-server runs fine. Go-agent was registered and enabled on the server
> dashboard.
>
> Trying to do a simple git pull and node build I got the above error.
>
> Qn:
> 1. Where is the temporary directory defined for the embedded Ruby?
> 2. What other changes need to be applied to the agent other than the
> server url?
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/fbafd117-0492-4e97-8378-ac914cc0a5b3n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/fbafd117-0492-4e97-8378-ac914cc0a5b3n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAMUPJd4-6GqwiZaZRiCfsuJELYULKuUNQ8Eu%3DXv87z8AgF3tow%40mail.gmail.com.

Reply via email to