You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.
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/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
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
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How do I run a test on jruby?
I've tried the following:
[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/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
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
The text was updated successfully, but these errors were encountered: