sportngin / brew-gem

Install gems as homebrew formulas
MIT License
195 stars 21 forks source link

Provide a way to use an alternate "system" ruby #28

Closed mikehale closed 7 years ago

mikehale commented 8 years ago

Some gems can't be used with the old version of ruby that ships on the latest OSX. Homebrew can install an alternate "system" ruby with brew install ruby to $HOMEBREW_PREFIX/opt/ruby/bin. It would be convenient to provide a way to detect or select that alternate ruby and prefer it over the system ruby at /usr/bin/ruby.

nicksieger commented 8 years ago

Great idea! The path is hard-coded here, perhaps you could look at what it would take to make it configurable?

anfleene commented 7 years ago

Added in #29 Thanks for the suggestion!