On Jan 18, 2011, at 1:01 AM, Chad Woolley wrote: > On Tue, Jan 11, 2011 at 11:28 PM, Chad Woolley <thewoolley...@gmail.com> > wrote: >> On Tue, Jan 11, 2011 at 2:11 PM, Ryan Davis <ryand-r...@zenspider.com> wrote: >>> Still running 1.9.2-p0. >>> >>> Still doesn't have libyaml installed. >>> >>> Still running 1.9.1-p430. >>> >>> We'd be green otherwise... >> >> Having trouble making rvm ruby patchlevels float in ccrb's build >> script. Discussing it with Wayne. If I don't get it soon I'll punt >> and just hardcode the patchlevels, which works fine, but will need to >> be updated manually as new patchlevels come out. > > OK, there's definitely a bug with 'rvm use' not overriding a different > default interpreter when called from a script. Reproducible outside > of ccrb (git://github.com/thewoolleyman/ccrb_rvm_test.git). I'll work > with Wayne on that, but for now I've given up on floating patch > levels, and hardcoded the latest supported by rvm head.
I'm not wayne or anything, but you might have better success with rvm-shell -c. Usage: rvm-shell '1.9.2' -c 'some command that will have ruby 1.9.2 in the path' We use it at work (root installed) to split between unicorns that run 1.9.2 and REE apps. Works great with rake, cap, etc. HTH. -Erik _______________________________________________ Rubygems-developers mailing list http://rubyforge.org/projects/rubygems Rubygems-developers@rubyforge.org http://rubyforge.org/mailman/listinfo/rubygems-developers