Question #250162 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/250162

    Status: Open => Answered

rss proposed the following answer:
SikuliX 1.1 IDE includes sikulix.rb module for realizing ruby-specific
API over native SikuliX Java API. See
https://github.com/RaiMan/SikuliX-2014/blob/master/Basics/src/main/resources/Lib/sikulix.rb

Also all scripts in IDE are ran with following header, that includes sikulix.rb 
and loads SikuliX4Ruby module in the global context.
        private final static String SCRIPT_HEADER 
                                        = "# coding: utf-8\n"
                                        + "require 'Lib/sikulix'\n"
                                        + "include SikuliX4Ruby\n";


If you want use sikulixapi.jar with external JRuby, you should install 
sikulix.gem from development branch 
https://github.com/rssdev10/SikuliX-2014/tree/ruby/JRubyGem (or use assembled 
gem from https://drive.google.com/folderview?id=0Bwx0cbtdU5K6STg2T0l5UWlIRXc  
). Or add the code from sikulix.rb to your own code.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to