Ubuntu 14.04 및 rael-gc RVM 저장소의 jenkins - 번들을 찾을 수 없습니까?

Ubuntu 14.04 및 rael-gc RVM 저장소의 jenkins - 번들을 찾을 수 없습니까?

Ubuntu 14.04에서 일부 Rails 프로젝트를 테스트하기 위해 작업자 노드에서 Jenkins를 실행하려고 합니다. RVM을 설치했습니다.이 문서. Jenkins "마스터"에서 빌드를 시작하면 노드 빌드의 콘솔 출력이 아래 출력을 생성합니다. jenkins 사용자의 홈 디렉터리에는 백업에서 복사된 .rvm 디렉터리가 포함되어 있습니다. 확실히 rvm의 이전 설치입니다. 그게 중요할까요? 나는 rvm에 익숙하지 않습니다.

...   
$ bash -c export
$ bash -c "test -f ~/.rvm/scripts/rvm"
$ bash -c "test -f ~/.rvm/scripts/rvm"
[PIMS] $ bash -c " source ~/.rvm/scripts/rvm && rvm use --install --create . && export > rvm.env"
Using /usr/share/rvm/gems/ruby-2.3.5
[PIMS] $ /bin/bash +x +e /tmp/jenkins1009584960163749179.sh
GemWrappers: Can not wrap missing file: bundle
GemWrappers: Can not wrap missing file: bundler
GemWrappers: Can not wrap missing file: rb2db 

unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb, skipping    
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb, skipping

Successfully installed bundler-1.16.1
Successfully installed rb2db-0.2.2 
2 gems installed
Installing ri documentation for bundler-1.16.1...
Installing ri documentation for rb2db-0.2.2...
Installing RDoc documentation for bundler-1.16.1...
Installing RDoc documentation for rb2db-0.2.2...
/tmp/jenkins1009584960163749179.sh: line 70: rvm: command not found
/tmp/jenkins1009584960163749179.sh: line 77: bundle: command not found
/tmp/jenkins1009584960163749179.sh: line 89: bundle: command not found
/tmp/jenkins1009584960163749179.sh: line 90: bundle: command not found
/usr/bin/xvfb-run: 184: /usr/bin/xvfb-run: bundle: not found
/tmp/jenkins1009584960163749179.sh: line 108: tmp/failures.log: No such file or directory
grep: tmp/failing_specs.log: No such file or directory
...   

whichjenkins 사용자로서 명령줄에서 실행하면 이 명령이 제대로 표시됩니다. 문제가 어디에 있을 수 있습니까?

$ echo $PATH
/usr/share/rvm/gems/ruby-2.3.5/bin:
/usr/share/rvm/gems/ruby-2.3.5@global/bin:
/usr/share/rvm/rubies/ruby-2.3.5/bin:/bin:/sbin:
/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:
/usr/lib/jvm/java-8-oracle/bin:
/usr/lib/jvm/java-8-oracle/db/bin:
/usr/lib/jvm/java-8-oracle/jre/bin:
/opt/instantclient_12_2:/usr/share/rvm/bin


[jenkins@node1 ~/workspace]
$ which rvm
/usr/share/rvm/bin/rvm

[jenkins@node1 ~/workspace]
$ which bundle
/usr/share/rvm/gems/ruby-2.3.5/bin/bundle

[jenkins@node1 ~/workspace]
$ which rb2db
/usr/share/rvm/gems/ruby-2.3.5/bin/rb2dnb

[jenkins@node1 ~/workspace]
$ which xvfb-run
/usr/bin/xvfb-run

관련 정보