[Sikuli-driver] [Question #255473]: cannot load Java class org.sikuli.script.Settings (NameError)

2014-10-07 Thread Nirmala Sakthi
New question #255473 on Sikuli:
https://answers.launchpad.net/sikuli/+question/255473

I have a Mac and tried pretty much all the suggestions for the Name error 
problem: I am trying to develop cucumber with Sikuli. I am trying the example 
under https://github.com/chaslemley/cucumber_sikuli/tree/master/features

which cucumber yields: ~/.rvm/gems/jruby-1.7.16/bin/cucumber
which jruby yields: ~/.rvm/rubies/jruby-1.7.16/bin/jruby

I keep getting the following: Can you please help?

cucumber features/example.feature
cannot load Java class org.sikuli.script.Settings (NameError)
org/jruby/javasupport/JavaClass.java:1286:in `for_name'
org/jruby/javasupport/JavaUtilities.java:34:in `get_proxy_class'
file:~/.rvm/rubies/jruby-1.7.16/lib/jruby.jar!/jruby/java/java_package_module_template.rb:4:in
 `const_missing'
~/.rvm/gems/jruby-1.7.16/gems/sikuli-0.3.0/lib/sikuli/config.rb:42:in `logging='
~/Documents/PFH/Automation/Sikuli_Cucumber/features/support/env.rb:6:in `(root)'
~/.rvm/gems/jruby-1.7.16/gems/sikuli-0.3.0/lib/sikuli/config.rb:61:in `run'
~/Documents/Automation/Sikuli_Cucumber/features/support/env.rb:4:in `(root)'
org/jruby/RubyKernel.java:1081:in `load'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/rb_support/rb_language.rb:1:in
 `(root)'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/rb_support/rb_language.rb:95:in
 `load_code_file'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/runtime/support_code.rb:180:in
 `load_file'
org/jruby/RubyArray.java:1613:in `each'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/runtime/support_code.rb:83:in
 `load_files!'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/runtime/support_code.rb:82:in
 `load_files!'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/runtime.rb:184:in 
`load_step_definitions'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/runtime.rb:42:in 
`run!'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/cli/main.rb:47:in 
`execute!'
org/jruby/RubyKernel.java:1081:in `load'
~/.rvm/gems/jruby-1.7.16/bin/cucumber:23:in `(root)'

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #255473]: cannot load Java class org.sikuli.script.Settings (NameError)

2014-10-07 Thread Nirmala Sakthi
Question #255473 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255473

Nirmala Sakthi posted a new comment:
Let me try with the older version first to see if everything works
together.

Is there any example available with latest Sikuli and Cucumber Ruby?

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp