added support to JRUBY #8

Merged
merged 1 commit into from May 6, 2013

2 participants

@vpereira

updated the gemspec to be able to use it with jruby 1.7.2

@limhoff-r7

Does using RUBY_PLATFORM check produce the correct result if you build the gem and then install from the .gem file? Or is it dependent on the build platform matching the install platform?

@vpereira

yes. on linux running with jruby from rvm it compiled and installed and i was able to run it, but i didn't run the specs.

@limhoff-r7

I'm working on getting a version of the gem we can release to rubygems as we're doing with the MRI version now. It should be possible from looking at how the bson gem releases a RUBY platform gem and a JAVA platform gem as can be seen from the version list here: http://rubygems.org/gems/bson.

@limhoff-r7 limhoff-r7 was assigned May 6, 2013
@limhoff-r7 limhoff-r7 merged commit f94ef39 into rapid7:master May 6, 2013
@limhoff-r7

@vpereira do you want/need jruby support for metasploit-framework or do you just need metasploit_data_models in JRuby to pull out data that metasploit-framework has put into the database? If you want JRuby support for metasploit-framework, I've started a branch on my fork. Unfortunately, it has a lot of errors in the specs. If you want more metasploit-framework developers @rapid7 to look at making JRuby work for metasploit-framework you may want to reopen the old feature request on Redmine

@vpereira

Hi @limhoff-r7,

I was actually trying to run metasploit-framework over jruby. I wanted to test an IPS signature database and I developed a tool to do it https://github.com/vpereira/meta-x-ids that was just dying on MRI.. over JVM with real threads it worked, but I didn't test extensively the framework on jruby.

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