简体   繁体   English

Jruby宝石作Heroku

[英]Jruby Gem For Heroku

I am trying to deploy a Jruby app on Heroku. 我正在尝试在Heroku上部署Jruby应用程序。 Unfortunately, when I try to install gem for Heroku using jruby, I get following error: 不幸的是,当我尝试使用jruby为Heroku安装gem时,出现以下错误:

/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? 有没有办法为Jruby安装heroku gem? Any help will be great. 任何帮助都会很棒。 Cheers 干杯

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. 问题在于heroku gem依赖于其他具有本地C扩展名的gem,这些扩展在JRuby中当然不起作用。 I'm also reasonably sure that heroku doesn't support JRuby anyway. 我还可以合理地确定heroku不支持JRuby。

Right now you can't, but - some info 现在你不能,但是- 一些信息
And also google app engine supports jRuby (I'm in love with heroku though :) ) 谷歌应用程序引擎也支持jRuby(尽管我爱上了heroku :))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM