postmodern / ruby-install

Installs Ruby, JRuby, TruffleRuby, or mruby
MIT License
1.9k stars 252 forks source link

Making it easier to find the latest Ruby version. #384

Closed peterb closed 1 year ago

peterb commented 3 years ago

You have to run ruby-install -L to download the latest versions before running ruby-install. This isn't so intuitive for occasional users. Would it be worth including a last-updated timestamp, or running with the -L option by default?

postmodern commented 3 years ago

We probably want to enable auto-downloading for certain edge-cases:

peterb commented 3 years ago

I can take a look at implementing this or we could take a look together.

postmodern commented 2 years ago

Another idea is to rename --latest to --update and have it update the ruby-versions before doing the main action. ruby-install --update and ruby-install --update ruby seem more obvious as to what they're doing? Adding more auto-downloading is doable, but would complicate the version expansion logic.

postmodern commented 2 years ago

I added the new -U,--update option and it will be released in 0.9.0. I will also probably attempt to add the complex logic of if the version isn't known, update the versions/checksums, and try resolving the version again.

postmodern commented 1 year ago

Implemented an additional logic check for if the ruby version is not yet known, then download the versions. bbc327d80f094a8b24c446ca36da7b60d9579fb8

Will be released in 0.9.0.