Skip to content
Snippets Groups Projects
Commit a84429b9 authored by Gasser Martin (mg20u947)'s avatar Gasser Martin (mg20u947)
Browse files

Merge branch 'eol_check-ruby' into 'master'

fix ruby version parser for rvm

See merge request !7
parents 0cb1fc93 b13ccfc9
No related branches found
No related tags found
1 merge request!7fix ruby version parser for rvm
......@@ -12,4 +12,12 @@
# ruby --version
# ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
ruby --version | cut -b 6-8
\ No newline at end of file
# rvm list
# =* ruby-2.6.3 [ x86_64 ]
# #=> - current
# #=* - current && default
# # * - default
rvm list | grep ^= | cut -f 2 -d " " | cut -f 2 -d "-" || ruby --version
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment