Closed sue445 closed 8 years ago
I use Wercker with Dockerfile which is installed rbenv to system wide (/usr/local/rbenv)
Dockerfile
/usr/local/rbenv
If exists .ruby-version of wantedly/pretty-slack-notify, system rbenv uses this. And error is occurred when ruby 2.1.5 is not installed
.ruby-version
wantedly/pretty-slack-notify
So I remove .ruby-version
Ruby Version: ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux] Ruby Path: /usr/local/rbenv/shims/ruby Install User: root Installing slack-notifier... Successfully installed slack-notifier-1.2.1 1 gem installed rbenv: version `2.1.5' is not installed (set by /pipeline/pretty-slack-notify-fd13d054-52fb-4bd6-9fd7-e501f9daa9ea/.ruby-version)
https://app.wercker.com/#sue445/capistrano-itamae/build/57866a7d9498f60100121bce?step=57866aaa34459e00015382cb
Thank you for Pull Request ❗ LGTM 👍
😄
Why?
I use Wercker with
Dockerfile
which is installed rbenv to system wide (/usr/local/rbenv
)If exists
.ruby-version
ofwantedly/pretty-slack-notify
, system rbenv uses this. And error is occurred when ruby 2.1.5 is not installedSo I remove
.ruby-version
Error log
https://app.wercker.com/#sue445/capistrano-itamae/build/57866a7d9498f60100121bce?step=57866aaa34459e00015382cb