Closed msjonker closed 3 years ago
https://github.com/rvm/executable-hooks/blob/master/bin/ruby_executable_hooks#L13 uses end_with? on a String, however that was added in 1.8.7 and causes 1.8.6 to error with messages such as:
end_with?
/usr/local/rvm/rubies/default/bin//ruby_executable_hooks:13: undefined method `end_with?' for "/usr/local/rvm/rubies/default/bin/rake":String (NoMethodError)
Thank you for the report, could you open a PR with https://ruby-doc.org/core-1.8.6/String.html#method-i-match
Sure, will do.
https://github.com/rvm/executable-hooks/blob/master/bin/ruby_executable_hooks#L13 uses
end_with?
on a String, however that was added in 1.8.7 and causes 1.8.6 to error with messages such as:/usr/local/rvm/rubies/default/bin//ruby_executable_hooks:13: undefined method `end_with?' for "/usr/local/rvm/rubies/default/bin/rake":String (NoMethodError)