RVM plugin: use latest rubies #1073

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@jrhorn424

These variables are hard-coded into the RVM plugin. They are updated to refer to the latest ruby patches available.

Jeffrey Horn RVM plugin: use latest rubies
These variables are hard-coded into the RVM plugin. They are updated to refer to the latest ruby patches available.
52ca826
@padde
padde commented May 6, 2012

Wouldn't it make more sense to automatically find the latest ruby 1.8 / 1.9 with something like rvm list | grep ruby-1.8 | sed -E 's/^.*ruby-(.*)\[.*$/\1/g' | tail -n1 ?

@jrhorn424

That would work. My script-fu is weak. I have an edge-case already. I installed a performance patch of 1.9 when I was playing with debugger, but it's largely obsolete now that someone else has picked up the project and made it work with stable 1.9.

jrhorn424 at hook in ~
$ rvm list | grep ruby-1.9 | sed -E 's/^.*ruby-(.*)\[.*$/\1/g' | tail -n1
1.9.3-p125-perf 
@padde
padde commented May 23, 2012

I don't see where the problem is with the performance patch. Could you be more specific?

@jrhorn424

Ah, sorry. It isn't my default ruby, and it isn't even the preferred patch I'd like to use of all the 1.9's. I don't know how trivial it would be to make the choice of rubies interactive. Perhaps it's better to just use whatever ruby is designated as default.

@robbyrussell
Owner

Have a more recent version now. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment