I installed fpm by using a command:
rvm @global do gem install --no-user-install -no-ri --no-rdoc --bindir /usr/local/bin/ fpm
on docker image. But I could only execute the fpm
command in /bin/bash
mode, and couldn't with /bin/sh
mode as shows an error:
/usr/bin/env: ruby_executable_hooks: No such file or directory
therefore, build job was failed when running the jenkins build.
How can I fix this?