utils/ruby.sh: suppress standard error in test-ruby
This commit is contained in:
parent
ec6e449f4f
commit
44ef1abd1f
@ -1,7 +1,7 @@
|
|||||||
test-ruby () {
|
test-ruby () {
|
||||||
"$1" --enable-frozen-string-literal --disable=gems,did_you_mean,rubyopt -rrubygems -e \
|
"$1" --enable-frozen-string-literal --disable=gems,did_you_mean,rubyopt -rrubygems -e \
|
||||||
"puts Gem::Version.new(RUBY_VERSION.to_s.dup).to_s.split('.').first(2) == \
|
"puts Gem::Version.new(RUBY_VERSION.to_s.dup).to_s.split('.').first(2) == \
|
||||||
Gem::Version.new('$required_ruby_version').to_s.split('.').first(2)"
|
Gem::Version.new('$required_ruby_version').to_s.split('.').first(2)" 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
setup-ruby-path() {
|
setup-ruby-path() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user