I installed jruby with
rvm install jruby-1.7.0
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