I've seen comments here and there on the net about folks running Watir 
under Wine or CrossOver Office.  I've been trying both and have been 
having some problems.

I've installed the latest Ruby one-click-installer and added c:\ruby\bin 
to the Wine path, and confirmed that path:

    $ wine ruby -e "puts \"#{ENV[\'PATH\']}\""
    C:\Windows;C:\Windows\System;C:\ruby\bin


While Wine can find C:\ruby\bin\ruby.exe using that path, Ruby isn't 
able to locate commands using the same path, like IRB or GEM.  I was 
able to get gem to work by using the full path to the gem command ("wine 
ruby 'C:\ruby\bin\gem' list")and was able to get into IRB using wcmd. 

Has anyone else been running Watir under Wine that could give me some 
pointers on how to get Ruby and Watir configured correctly to run under 
Wine or CrossOver Office?


David
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to