mirror of
https://github.com/gosticks/brew.git
synced 2026-08-16 22:50:18 +00:00
utils/ruby.sh: break down long ruby code in test-ruby
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
test-ruby () {
|
||||
"$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) == Gem::Version.new('$required_ruby_version').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)"
|
||||
}
|
||||
|
||||
setup-ruby-path() {
|
||||
|
||||
Reference in New Issue
Block a user