postmodern / ruby-install

Installs Ruby, JRuby, TruffleRuby, or mruby
MIT License
1.91k stars 255 forks source link

Ruby versions < 2.4 #370

Closed esambo closed 3 years ago

esambo commented 4 years ago

Document how to install old Ruby versions that still depend on OpenSSL 1.0

schneems commented 4 years ago

I had to brew tap first:

$ brew tap rbenv/tap
$ brew install rbenv/tap/openssl@1.0
postmodern commented 3 years ago

@esambo what do you think about adding specific use-cases to the Wiki?

esambo commented 3 years ago

@postmodern Yes, that would make sense, if you could then also add a link to the wiki on the README to make it more discoverable, eg. in the Known Issues section

postmodern commented 3 years ago

Done: https://github.com/postmodern/ruby-install/wiki/Known-Issues

esambo commented 3 years ago

@postmodern I don't see any mention how to use an old Open SSL version, eg (for Ruby 2.2.0):

brew tap rbenv/tap
brew install rbenv/tap/openssl@1.0
ruby-install ruby 2.2.0 -- --with-openssl-dir=$(brew --prefix openssl@1.0)
gem install bundler -v '~>1'
postmodern commented 3 years ago

Oops, looks like the Wiki is Contributors-only. I added the section and additional formatting.