Creating new rails project with jruby in 1.9 compa

2019-07-07 01:27发布

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条回答
淡お忘
2楼-- · 2019-07-07 02:07

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).

查看更多
登录 后发表回答