Creating new rails project with jruby in 1.9 compatibility mode hangs when running bundle install

会有一股神秘感。 提交于 2019-12-23 20:11:15

问题


Anyone encountered this problem? I am able to create the project fine in 1.8 compatibility mode.

Here is what I am using

  • Mac OSX Lion
  • JRuby 1.6.4
  • Java 1.6.0_31
  • rvm 1.8.1

I am running the following command

JRUBY_OPTS=--1.9 rails new myapp

This goes ahead and creates all the files required for the app and then hangs at the statement.

run bundle install

When I look at Activity Monitor the java process is using up most of the cpu.


回答1:


Summarizing the answer from the comments in order to remove this question from the "Unanswered" filter:

Upgrading to 1.6.7 solves the hang, confirmed by original poster (Moiz Raja). Hang itself confirmed by multiple parties on 1.6.4 (Dave Newton) and 1.6.5 (febeling).



来源:https://stackoverflow.com/questions/10971127/creating-new-rails-project-with-jruby-in-1-9-compatibility-mode-hangs-when-runni

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!