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

testbot jruby compatability #48

Description

@jesg

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

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions