From: Jeremy Bopp Date: 2012-02-07T08:09:30+09:00 Subject: Re: ruby executable on ubuntu On 02/06/2012 04:53 PM, Adam Ms. wrote: > Adam Ms. wrote in post #1044434: > >> rvm use 1.9.2-p180 do /home/adam/bin/test1.rb > > I think this will work too: > > bash -i -c "/home/adam/bin/test1.rb" It may work, but it would also cause the user's .bashrc file to be completely reloaded, which may be much more work than necessary. More importantly, there is an implicit assumption that a particular Ruby is selected in the .bashrc file. While that may be done by some people, it seems unnecessary. I think your earlier proposal is better all around. :-) -Jeremy