如果有足够的内存,JRuby 1.7.0将不会安装捆绑程序 [英] JRuby 1.7.0 will not install bundler given plenty of memory
本文介绍了如果有足够的内存,JRuby 1.7.0将不会安装捆绑程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我用
rvm install jruby-1.7.0
它试图创建gemset时内存不足,所以我首先尝试使用新版本安装bundler,这就是我得到的
and it ran out of memory when it tried to create the gemsets so I started by trying to install bundler with the new version and this is what I get
~>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
所以我调高了内存,但是仍然没有很大的内存
So I moved up the memory and I still got nothing with a huge chunk of memory
~>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
我怎么能在不到此的程度上运行应用程序呢?
How the hell can that not be enough I run applications on less than that
推荐答案
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
This appears to be an rvm issue: http://jira.codehaus.org/browse/JRUBY-6948 AND https://github.com/jruby/jruby/issues/331#issuecomment-9120273
这篇关于如果有足够的内存,JRuby 1.7.0将不会安装捆绑程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文