rvm / executable-hooks

Other
21 stars 12 forks source link

Ruby 1.8.6 compatibility broken #34

Closed msjonker closed 6 years ago

msjonker commented 6 years ago

Ruby 1.8.6 doesn't support the map(&:to_s) construct used on this line (added in 1.4.2): https://github.com/rvm/executable-hooks/blame/master/lib/rubygems_plugin.rb#L16 which gives the following error when trying to install a gem:

ERROR:  While executing gem ... (TypeError)
    wrong argument type Symbol (expected Proc)
    /usr/local/rvm/gems/ruby-1.8.6-p420@global/gems/executable-hooks-1.5.0/lib/rubygems_plugin.rb:16
mpapis commented 6 years ago

fixed in 1.6.0