Hi Dan & Al,

Watir webdriver was in the gem list and once I added the require
'rubygems' it worked just fine.  Thank you guys and everyone else.

Joe

On Tue, Apr 17, 2012 at 12:32 PM, Dan <[email protected]> wrote:
> Do you see watir-webdriver when you do a `gem list`?  Also, you may need to
> require 'rubygems' first.
>
>
> On Tuesday, April 17, 2012 12:17:04 PM UTC-4, Joe Fl wrote:
>>
>> Hi Al,
>>
>> I got rvm installed on the machine and watir-webdriver installed.
>> When I go to do a test I get the following error:
>> 1.8.7 :002 > require "watir-webdriver"
>> LoadError: no such file to load -- watir-webdriver
>>         from (irb):2:in `require'
>>         from (irb):2
>>
>> Do I need to add a method when working with RVM?
>>
>> I followed your steps and my versions are:
>>
>> Suzie-Florence:~ josephfleck$ rvm list
>>
>> rvm rubies
>>
>> =* ruby-1.8.7-p358 [ i686 ]
>>    ruby-1.9.2-p318 [ i386 ]
>>
>> # => - current
>> # =* - current && default
>> #  * - default
>>
>>
>> I set my default to version 1.8.7.
>>
>> I used this site to get rvm working:
>> http://screencasts.org/episodes/how-to-use-rvm
>>
>> On Tue, Apr 17, 2012 at 11:08 AM, Joe Fleck <[email protected]> wrote:
>> > 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]

Reply via email to