wantedly / step-pretty-slack-notify

Posts wercker build/deploy status to a Slack channel
MIT License
88 stars 34 forks source link

Remove and don't commit .ruby-version #32

Closed sue445 closed 8 years ago

sue445 commented 8 years ago

Why?

I use Wercker with Dockerfile which is installed rbenv to system wide (/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

So I remove .ruby-version

Error log

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

koudaiii commented 8 years ago

Thank you for Pull Request ❗ LGTM 👍

sue445 commented 8 years ago

😄