Joe, Run "rvm list" to see the versions of "rvm" you have.Then run "rvm use <abc>" where <abc> is the version you want to use from the above list.I use the latest for my rails development - "rvm use 1.9.3-p125". Also you can add "--default" to the above "rvm use" command to set the default for the projects (directory) you are in. Thanks, Al Snow
> Date: Tue, 17 Apr 2012 11:08:02 -0400 > Subject: Re: [wtr-general] How do I update my MAC Pro book to ruby version > 1.8.7 or higher > From: [email protected] > To: [email protected] > > Hi Al, > > I read over the article and I believe it helped though when i tried to > "rvm install 1.8.7" I get command not found. > > > Suzie-Florence:~ josephfleck$ cd /usr/share/curl/ > > Suzie-Florence:curl josephfleck$ sudo cp curl-ca-bundle.crt > curl-ca-bundle.crt.bak > Password: > > Suzie-Florence:curl josephfleck$ sudo curl > http://curl.haxx.se/ca/cacert.pem -o curl-ca-bundle.crt > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left Speed > 100 210k 100 210k 0 0 40070 0 0:00:05 0:00:05 --:--:-- 45752 > > Suzie-Florence:curl josephfleck$ rvm install 1.8.7 > -bash: rvm: command not found > > Thank you, > Joe > > On Tue, Apr 17, 2012 at 10:57 AM, Joe Fleck <[email protected]> wrote: > > Hi Zeljko., > > > > I just tried to install the watir-webdriver gem on the machine and got > > the following error message. > > > > Last login: Tue Apr 17 10:47:11 on console > > Suzie-Florence:~ josephfleck$ sudo gem install watir-webdriver --no-ri > > --no-rdoc > > Password: > > ERROR: Error installing watir-webdriver:rubyzip requires Ruby version >= > > 1.8.7. > > > > > > On Tue, Apr 17, 2012 at 9:39 AM, Al Snow <[email protected]> wrote: > >> Joe, > >> When I googled rvm and certificates, I found this: > >> http://stackoverflow.com/questions/6414232/curl-certificate-error-when-using-rvm-to-install-ruby-1-9-2 > >> Try one of the answers. > >> > >> FYI, > >> Al Snow > >> > >> ________________________________ > >> Subject: Re: [wtr-general] How do I update my MAC Pro book to ruby version > >> 1.8.7 or higher > >> From: [email protected] > >> Date: Mon, 16 Apr 2012 21:32:05 -0400 > >> To: [email protected] > >> > >> > >> Hi, > >> > >> I have tried to install rvm on the machine but I am getting an error > >> message > >> about certificates. I tried gem ram install-1.8.7-head and that to fails. > >> Is there a way to just update the current ruby version from 1.8.6 to 1.8.7 > >> or possibly higher? > >> > >> Thank you, > >> Joe > >> > >> Sent from my iPad > >> > >> On Apr 16, 2012, at 5:57 PM, Joe Fleck <[email protected]> wrote: > >> > >> Dan, > >> Thank you for the suggestion. I will look into it. > >> Is there a way to update the version on the machine? > >> Thank you, > >> Joe > >> On Apr 16, 2012 4:50 PM, "Joe Fl" <[email protected]> wrote: > >> > >> Hi, > >> > >> I have never done this before but I need to update one of our MAC > >> Books Pro to ruby 1.8.7 in order to use the watir webdriver. The > >> machine is currently installed with version 1.8.6 and MAC OS 10.5. > >> Can anyone give me directions or good documentation on how to do > >> this? > >> > >> Any help would be greatly appreciated. > >> > >> Thank you, > >> Joe > >> > >> -- > >> Before posting, please read http://watir.com/support. In short: search > >> before you ask, be nice. > >> > >> [email protected] > >> http://groups.google.com/group/watir-general > >> [email protected] > >> > >> > >> -- > >> Before posting, please read http://watir.com/support. In short: search > >> before you ask, be nice. > >> > >> [email protected] > >> http://groups.google.com/group/watir-general > >> [email protected] > >> > >> > >> -- > >> Before posting, please read http://watir.com/support. In short: search > >> before you ask, be nice. > >> > >> [email protected] > >> http://groups.google.com/group/watir-general > >> [email protected] > >> > >> -- > >> Before posting, please read http://watir.com/support. In short: search > >> before you ask, be nice. > >> > >> [email protected] > >> http://groups.google.com/group/watir-general > >> [email protected] > > -- > Before posting, please read http://watir.com/support. In short: search before > you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
