tags:

views:

329

answers:

2

I am trying to deploy a Jruby app on Heroku. Unfortunately, when I try to install gem for Heroku using jruby, I get following error:

/proj/jruby-1.3.1/lib/ruby/1.8/mkmf.rb:7: JRuby does not support native extensions. Check wiki.jruby.org for alternatives. (NotImplementedError)
    from /proj/jruby-1.3.1/lib/ruby/1.8/mkmf.rb:1:in `require'
    from extconf.rb:1
ERROR:  Error installing heroku:
    ERROR: Failed to build gem native extension.

Is there a way to install heroku gem for Jruby? Any help will be great. Cheers

+3  A: 

The problem is that the heroku gem relies on some other gems that have native C extensions, which of course don't work in JRuby. I'm also reasonably sure that heroku doesn't support JRuby anyway.

mipadi
+1  A: 

Right now you can't, but - some info
And also google app engine supports jRuby (I'm in love with heroku though :) )

Devenv