-
-
Notifications
You must be signed in to change notification settings - Fork 189
Adjust version matching #320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2.0.0-p353 is no longer available on the rvm servers. http://rvm.io/binaries/osx/10.10/x86_64/
Addresses postmodern#318 * Breaks out ruby selection into function for testing. * Removes `*"$1"*` matching and adds `ruby-"$1"*` and `"$1"*` matching.
548e628 to
a6f4763
Compare
|
Thank you for chruby/ruby-install. As a user, this PR is great. I love chruby and recommend it to my team but dislike the current behavior. What's needed to get this reviewed/merged? I get burned by this all the time when I install new rubies. Currently chruby 2.1 selects 2.2.1 when I want 2.1.5. Previously, chruby 2.0 selected 2.2.0 instead of 2.0.0. My brain just doesn't grok the current behavior. I've considered removing rubies locally just so I don't have to deal with this problem but that seems silly. |
|
@postmodern anything I can do to improve this? |
|
I'm a little hesitant about preferring |
|
My reasoning for Sorting would be an improvement either way as this PR does nothing to ensure that |
|
|
|
@postmodern any update on this? @tvon's reasoning on matching |
|
@postmodern Any update on this? When typing |
This is based off of #319
Addresses #318
*"$1"*matching and addsruby-"$1"*and"$1"*matching.For example, given the following:
chruby ruby-2.2selects/opt/rubies/ruby-2.2.1chruby rbxselects to/opt/rubies/rbx-2.2.1chruby 2.1selects to/opt/rubies/ruby-2.1.1, this is the only change in the current behavior. In master this would select/opt/rubies/ruby-2.2.1