projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
16306: Update to Ruby 2.7.2.
[arvados.git]
/
lib
/
boot
/
supervisor.go
diff --git
a/lib/boot/supervisor.go
b/lib/boot/supervisor.go
index c75e7f146e3ce2b2734575804aa25c477839efdc..77504deb057f05a39d572679f3d0f55d5a926dff 100644
(file)
--- a/
lib/boot/supervisor.go
+++ b/
lib/boot/supervisor.go
@@
-443,7
+443,7
@@
func (super *Supervisor) setupRubyEnv() error {
cmd.Env = super.environ
buf, err := cmd.Output() // /var/lib/arvados/.gem/ruby/2.5.0/bin:...
if err != nil || len(buf) == 0 {
cmd.Env = super.environ
buf, err := cmd.Output() // /var/lib/arvados/.gem/ruby/2.5.0/bin:...
if err != nil || len(buf) == 0 {
- return fmt.Errorf("gem env gempath: %
v
", err)
+ return fmt.Errorf("gem env gempath: %
w
", err)
}
gempath := string(bytes.Split(buf, []byte{':'})[0])
super.prependEnv("PATH", gempath+"/bin:")
}
gempath := string(bytes.Split(buf, []byte{':'})[0])
super.prependEnv("PATH", gempath+"/bin:")