Celerity with Watir

M

Mario Ruiz

Hi,
I'm trying to use celerity in my Ruby scripts.
I have installed JRuby and Ruby but when I run a Ruby script that
includes Celerity I get this error:
Celerity only works on JRuby at the moment.

As it says on celerity web page it is possible to use celerity with
watir then I don't understand why I get this message.

Any idea?
 
R

Richard Conroy

[Note: parts of this message were removed to make it a legal post.]

You need to call your Ruby script with JRuby.

If you have both Ruby and JRuby installed you need to invoke jruby directly.
By default the ruby executable is in your system path, but it is not default
in most jruby releases.

Alternatively the RVM (Ruby Version Manager) receives strong praise for
handling these issues quite well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,144
Latest member
KetoBaseReviews
Top