rubyamf / rocketamf

52 stars 34 forks source link

Support JRuby #7

Open warhammerkid opened 12 years ago

warhammerkid commented 12 years ago

RocketAMF can't be installed under JRuby because it tries to install the native extension and fails.

amazon123 commented 12 years ago

Seems I have no permission to re-open this issue.

The problem is still here,

detailed information please refer to https://github.com/rubyamf/rubyamf/issues/2

warhammerkid commented 12 years ago

There is nothing more that I'm willing to do that can fix this at this point. The problem is that the ruby gem system does not provide me with a means of preventing the native extensions from running on JUST JRuby, without actually releasing a custom variant of the gem on rubygems.org. What I did was tweak it so that if it does run, it doesn't actually try to compile the code. However, it still requires that make be installed on your system, which it isn't on Windows.

The solution for now is to fork RocketAMF and comment out the line in the gemspec that says s.extensions = Dir[*["ext/**/extconf.rb"]]. You can also install make, but that may be more trouble than it's worth. Once RocketAMF 1.0 is officially released, you won't need to do this.

amazon123 commented 12 years ago

As you said, and I tried to install RocketAMF on CentOS, no problem found so far, seems that it doesn't work just on Windows.

Also waiting for your official release of RocketAMF and rubyamf.

atambo commented 12 years ago

@warhammerkid, when are you planning on releasing 1.0 of RocketAMF?