2

我安装了jruby

rvm install jruby-1.7.0

当它尝试创建 gemsets 时内存不足,所以我开始尝试使用新版本安装 bundler,这就是我得到的

~>gem install bundler
Error: Your application used more stack memory than the safety cap of 2048K.
Specify -J-Xss####k to increase it (#### = cap size in KB).
Specify -w for full StackOverflowError stack trace

所以我向上移动了内存,但我仍然什么都没有,有一大块内存

~>JRUBY_OPTS=-J-Xss1024m gem install bundler
Error: Your application used more stack memory than the safety cap of 1024M.
Specify -J-Xss####k to increase it (#### = cap size in KB).
Specify -w for full StackOverflowError stack trace

这还不够,我运行的应用程序还不够

4

1 回答 1

7
rvm get 1.15.11
rvm reinstall jruby-head

这似乎是一个 rvm 问题: http ://jira.codehaus.org/browse/JRUBY-6948和https://github.com/jruby/jruby/issues/331#issuecomment-9120273

于 2012-10-24T22:57:04.667 回答