Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

testbot jruby compatability #48

Open
jesg opened this issue May 31, 2014 · 0 comments
Open

testbot jruby compatability #48

jesg opened this issue May 31, 2014 · 0 comments

Comments

@jesg
Copy link

jesg commented May 31, 2014

How do I run a test on jruby?

I've tried the following:

  1. Install the testbot
    [jason@arch ~]$ rvm use jruby
    Using /home/jason/.rvm/gems/jruby-1.7.11
    [jason@arch ~]$ export JRUBY_OPTS="--1.9 -Xcext.enabled=true"
    [jason@arch ~]$ gem install testbot
    Building native extensions. This could take a while...
    ERROR: Error installing testbot:
    ERROR: Failed to build gem native extension.
/home/jason/.rvm/rubies/jruby-1.7.11/bin/jruby extconf.rb

/home/jason/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/mkmf.rb:14: Use RbConfig instead of obsolete and deprecated Config.
mkmf.rb can't find header files for ruby at /home/jason/.rvm/rubies/jruby-1.7.11/lib/native/include/ruby/ruby.h

extconf failed, uncaught signal 1

Gem files will remain installed in /home/jason/.rvm/gems/jruby-1.7.11/gems/posix-spawn-0.3.8 for inspection.
Results logged to /home/jason/.rvm/gems/jruby-1.7.11/extensions/universal-java-1.7/1.9/posix-spawn-0.3.8/gem_make.out

  1. Set the 'USE_JRUBY' environmental variable in ~/.bashrc to true and run the testbot server and testbot runner on ruby 1.9.3. Also I have installed jruby on my system.

Running the example program in the README gave the following error.
[jason@arch testbotdemo]$ testbot --test --connect localhost

arch:/tmp/testbot
NameError: uninitialized constant Itest
const_missing at org/jruby/RubyModule.java:2690
(root) at -Itest:1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant