[Wtr-general] Question - How to use different installed versions of WATiR
Charley Baker
charley.baker at gmail.com
Thu Aug 31 15:36:17 EDT 2006
You can use something along these lines to load a specifc version of a gem,
standard operators apply (>=, <=, etc):
require 'rubygems'
require_gem 'watir', '= 1.5.1.1079'
There's no need to uninstall previous gems if you want to use them.
-Charley
On 8/31/06, Boyt, Darrel <Darrel.Boyt at gdit.com> wrote:
>
> Bret, et al,
>
> I'm still a neophyte where Ruby's concerned, so please excuse what may
> seem to be an obvious question.
>
> I've followed the instructions on
> http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem to install the latest
> from SVN. At the end of the instructions it says I can uninstall previous
> versions of WATiR I've installed via gem by using the "gem uninstall watir"
> command. So my question is: How do I use a previous version? Do I somehow
> specify the version on the "require" command?
>
> Just curious...
>
> Thanks,
>
> Darrel Boyt
> Systems Analyst
> General Dynamics Information Technology
> 2770 Gunter Park Drive East, Suite H
> Montgomery, Alabama 36109-1412
> (334) 260-3331 direct
> (334) 277-2331 fax
> Darrel.Boyt at gdit.com
> www.gdit.com
>
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060831/d5c94050/attachment.html
More information about the Wtr-general
mailing list