Skip to content

Rubies listed and fuzzy matched lexicographically instead of numerically #280

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

Closed
gwagener opened this issue Aug 14, 2014 · 2 comments
Closed

Comments

@gwagener
Copy link

Actual result

Versions of JRuby and Rubinius with bug fix versions ≥ 10 are listed before 2..9 and consequently not given preference by fuzzy matching.

...:(master=)~/...$ chruby jruby
...:(master=)~/...$ chruby
   jruby-1.7.13
 * jruby-1.7.5
   rbx-2.2.10
   rbx-2.2.6
   ruby-1.9.3-p547
   ruby-2.0.0-p481
   ruby-2.1.2
...:(master=)~/...$ chruby --version
chruby: 0.3.8

Expected result

Versions should be listed in numeric order so 2.2.1 < 2.2.5 < 2.2.10.

...:(master=)~/...$ chruby jruby
...:(master=)~/...$ chruby
   jruby-1.7.5
 * jruby-1.7.13
   rbx-2.2.6
   rbx-2.2.10
   ruby-1.9.3-p547
   ruby-2.0.0-p481
   ruby-2.1.2

Thanks!

@postmodern
Copy link
Owner

See pull #278.

@gwagener
Copy link
Author

Darn, I searched through all the issues, but forgot to look through pull requests. Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants