Good news. I think Bret was the one who suggested copying the whole Ruby folder.
It is not a bad idea, instead off downloading multiple gems on every machine. I created a batch file, but I keep forgetting to update it with the new gems!!! Aidy 2009/2/4 Natasha Ranney <[email protected]>: > Hi Aidy, > > That worked :). I just tried executing a very simple Ruby script. > > Let me try executing my actual test scripts. > > Thanks a lot, > Natasha > > --- On Wed, 4/2/09, aidy lewis <[email protected]> wrote: > > From: aidy lewis <[email protected]> > Subject: [wtr-general] Re: Unable to install WATIR on VM client machine > To: [email protected] > Date: Wednesday, 4 February, 2009, 11:06 PM > > Hi Natasha, > > I think the consesus was to copy over the whole Ruby folder. > > Aidy > > 2009/2/4 Natasha Ranney <[email protected]>: >> I also tried copying the entire gems folder from the machine where >> ruby+watir was installed, onto the VM client machine. > Then tried executing >> the watir script, but it failed to execute. >> >> Let me try installing the gems one by one, after downloading the gems. >> >> --- On Wed, 4/2/09, Natasha Ranney <[email protected]> wrote: >> >> From: Natasha Ranney <[email protected]> >> Subject: [wtr-general] Re: Unable to install WATIR on VM client machine >> To: [email protected] >> Date: Wednesday, 4 February, 2009, 10:50 PM >> >> I have tried copy the gem that Watir wants, Activesupport. >> >> copied > C:\ruby\lib\ruby\gems\1.8\gems\activesupport-2.2.2 > to the VM machine. >> Ruby is already installed on that machine. >> >> After copying the gem, I also set the path on VM machine, as shown below: >> > ------------------------------------------------------------------------------------------------------------ >> C:\Installables>echo > %PATH% >> > c:\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ruby\lib\ >> ruby\gems\1.8\gems\ >> >> C:\Installables>gem install -l watir >> ERROR: While executing gem ... (RuntimeError) >> Error instaling watir: >> watir requires activesupport >= 0 >> >> C:\Installables>dir > C:\ruby\lib\ruby\gems\1.8\gems\activesupport-2.2.2 >> Volume in drive C has no label. >> Volume Serial Number is 8C0E-0BA2 >> >> Directory of > C:\ruby\lib\ruby\gems\1.8\gems\activesupport-2.2.2 >> >> 02/04/2009 05:18 PM <DIR> . >> 02/04/2009 05:18 PM <DIR> .. >> 02/04/2009 05:18 PM 61,344 CHANGELOG >> 02/04/2009 05:18 PM <DIR> lib >> 02/04/2009 05:18 PM 1,397 README >> 2 File(s) 62,741 bytes >> 3 Dir(s) > 62,439,129,088 bytes free >> >> C:\Installables> >> > ------------------------------------------------------------------------------------------------------------ >> >> Thanks, >> Natasha >> >> --- On Wed, 4/2/09, Paul Rogers <[email protected]> wrote: >> >> From: Paul Rogers <[email protected]> >> Subject: [wtr-general] Re: Unable to install WATIR on VM client machine >> To: [email protected] >> Date: Wednesday, 4 February, 2009, 9:44 PM >> >> as long as you set the env variables to point to the ruby executable, >> gems etc it should be fine. I guy I used to work with wanted to check >> the whole ruby tree in to svn along with a batch file to set the env >> vars so it was really easy to set up a new machine. >> >> Paul >> >> On Wed, Feb 4, 2009 at 9:03 AM, Bret Pettichord >> >> > <[email protected]> >> wrote: >>> >>> it is possible to simply copy over your ruby directory after you have >>> installed watir on another machine. i've done this. >>> >>> bret >>> >>> aidy lewis wrote: >>>> Good point. Not sure if you can just copy over your gem folder. >>>> >>>> Or create the VM after you have installed your test environment >>>> >>>> Aidy >>>> >>>> 2009/2/4 Natasha <[email protected]>: >>>> >>>>> Thanks Aidy. >>>>> >>>>> I have tried doing that. Its keeps prompting me to install > other >> gems >>>>> first. >>>>> >>>>> Its asking me to install activesupport gem. I have been > looking >> for >>>>> that gem. >>>>> >>>>> > Regards, >>>>> Natasha >>>>> >>>>> On Feb 4, 3:04 pm, aidy lewis >> >> <[email protected]> >> wrote: >>>>> >>>>>> Try downloading the packaged gem and place on C: >>>>>> >>>>>> C:> gem install -l watir >>>>>> >>>>>> 2009/2/4 Natasha <[email protected]>: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Hi All, >>>>>>> >>>>>>> I am having trouble installing WATIR on VM client > machine. >>>>>>> >>>>>>> I have installed Ruby on the VM client machine. Now I > have >> been trying >>>>>>> to install Watir on it. >>>>>>> >>>>>>> I tried > commands: >>>>>>> >>>>>>> gem update --system >>>>>>> >>>>>>> It simply hangs while executing the above command. >>>>>>> >>>>>>> >> >> Thanks, >>>>>>> Natasha >>>>>>> >>>> >>>> > >>>> >>> >>> >>> > >>> >> >> >> >> >> >> >> >> >> >> > >> >> >> > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
