问题
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