运行捆绑软件安装时,以1.9兼容模式使用jruby创建新的Rails项目会挂起 [英] Creating new rails project with jruby in 1.9 compatibility mode hangs when running bundle install

查看:56
本文介绍了运行捆绑软件安装时,以1.9兼容模式使用jruby创建新的Rails项目会挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人遇到这个问题吗?我可以在1.8兼容模式下很好地创建项目.

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

这是我正在使用的

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

我正在运行以下命令

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

当我查看活动监视器时,Java进程消耗了大部分CPU.

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

推荐答案

总结注释中的答案,以便从未答复"过滤器中删除此问题:

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

升级到1.6.7可以解决该问题,这已得到原始发布者的确认( Moiz Raja ).由多方在1.6.4( Dave Newton )和1.6.5(

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

这篇关于运行捆绑软件安装时,以1.9兼容模式使用jruby创建新的Rails项目会挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆