Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support JRuby #7

Open
warhammerkid opened this issue Oct 14, 2011 · 4 comments
Open

Support JRuby #7

warhammerkid opened this issue Oct 14, 2011 · 4 comments
Assignees

Comments

@warhammerkid
Copy link
Collaborator

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

@amazon123
Copy link

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

The problem is still here,

detailed information please refer to rubyamf/rubyamf#2

@warhammerkid warhammerkid reopened this Oct 19, 2011
@warhammerkid
Copy link
Collaborator Author

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
Copy link

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
Copy link

atambo commented Apr 5, 2012

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

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

No branches or pull requests

3 participants