Skip to content
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

Make auto generate support rubies with semantic versioning #9

Closed
gucki opened this issue Nov 19, 2014 · 2 comments
Closed

Make auto generate support rubies with semantic versioning #9

gucki opened this issue Nov 19, 2014 · 2 comments

Comments

@gucki
Copy link
Contributor

gucki commented Nov 19, 2014

Running rbenv alias --auto should generate an alias for 2.1 which points to the latest 2.1 patchlevel/ version. Right now it only does:

1.8.7 => 1.8.7-p371
1.9.3 => 1.9.3-p429
2.0.0 => 2.0.0-p451

I think it'd be a good idea to have more aliases like this:

1.8.7 => 1.8.7-p371
1.9.3 => 1.9.3-p429
2.0.0 => 2.0.0-p451
2.1 => 2.1.5

Or alternatively:

1.8.7 => 1.8.7-p371
1.9.3 => 1.9.3-p429
2.0.0 => 2.0.0-p451
2.1.x => 2.1.5

However 2.1.x is not compatible with rvm, however 2.1 is.

@gucki gucki changed the title auto generate major version links auto generate link to 2.1 patchlevel Nov 19, 2014
@gucki gucki changed the title auto generate link to 2.1 patchlevel auto generate for 2.1 not working Nov 19, 2014
@gucki
Copy link
Contributor Author

gucki commented Nov 19, 2014

BTW, the same should be done for jruby, so having a jruby-1.7 link to latest jruby-1.7.x. Probably the same for all other rubies which use semantic versioning.

@gucki gucki changed the title auto generate for 2.1 not working Make auto generate support rubies with semantic versioning Nov 19, 2014
@tpope
Copy link
Owner

tpope commented Nov 19, 2014

I guess I would be okay with this, if you want to try a pull request.

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