Hatena::Grouprubyist

たばさの RSSフィード

03/04(火) 2008

rails jruby 続き

rails jruby 続き - たばさの を含むブックマーク はてなブックマーク - rails jruby 続き - たばさの

f:id:hatecha:20080305002140p:image

まあせっかくなので通してみたい。ということで、jrubyのパスのほうで指示通り'gem install -v=2.0.2 rails'。

まてよ、それはもうやった。railsはもうある。jrubyから見えてないならパス通せばいいだけかな、でもまあ練習で。

>..\jruby-1.0\bin\gem install -v=2.0.2 rails
Bulk updating Gem source index for: http://gems.rubyforge.org
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.util.HashMap.newValueIterator(HashMap.java:843)
        at java.util.HashMap$Values.iterator(HashMap.java:910)
        at org.jvyamlb.ScannerImpl.nextPossibleSimpleKey(ScannerImpl.java:830)
        at org.jvyamlb.ScannerImpl.needMoreTokens(ScannerImpl.java:453)
        at org.jvyamlb.ScannerImpl.peekToken(ScannerImpl.java:410)
        at org.jvyamlb.ParserImpl$22.produce(ParserImpl.java:452)
        at org.jvyamlb.ParserImpl.parseStreamNext(ParserImpl.java:823)
        at org.jvyamlb.ParserImpl.peekEvent(ParserImpl.java:774)
        at org.jvyamlb.ComposerImpl.composeNode(ComposerImpl.java:161)
        at org.jvyamlb.ComposerImpl.composeNode(ComposerImpl.java:148)
        at org.jvyamlb.ComposerImpl.composeNode(ComposerImpl.java:148)
        at org.jvyamlb.ComposerImpl.composeNode(ComposerImpl.java:167)
        at org.jvyamlb.ComposerImpl.composeNode(ComposerImpl.java:167)
        at org.jvyamlb.ComposerImpl.composeNode(ComposerImpl.java:167)
        at org.jvyamlb.ComposerImpl.composeNode(ComposerImpl.java:167)
        at org.jvyamlb.ComposerImpl.composeDocument(ComposerImpl.java:100)
        at org.jvyamlb.ComposerImpl.getNode(ComposerImpl.java:76)
        at org.jvyamlb.BaseConstructorImpl.getData(BaseConstructorImpl.java:97)
        at org.jruby.RubyYAML.load(RubyYAML.java:221)
        at org.jruby.RubyYAMLInvokerSload1.call(Unknown Source)
        at org.jruby.runtime.callback.FastInvocationCallback.execute(FastInvocat
ionCallback.java:49)
        at org.jruby.internal.runtime.methods.SimpleCallbackMethod.call(SimpleCa
llbackMethod.java:81)
        at org.jruby.evaluator.EvaluationState.callNode(EvaluationState.java:568
)
        at org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java
:207)
        at org.jruby.evaluator.EvaluationState.orNode(EvaluationState.java:1459)

        at org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java
:339)
        at org.jruby.evaluator.EvaluationState.eval(EvaluationState.java:164)
        at org.jruby.internal.runtime.methods.DefaultMethod.internalCall(Default
Method.java:135)
        at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.j
ava:79)
        at org.jruby.evaluator.EvaluationState.fCallNode(EvaluationState.java:10
23)
        at org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java
:253)
        at org.jruby.evaluator.EvaluationState.blockNode(EvaluationState.java:53
1)

>

ということでさらに半日。ヒープメモリーエラー。?

トラックバック - http://rubyist.g.hatena.ne.jp/hatecha/20080304
カレンダー
<< 2008/03 >>
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
archive Error : RSSが取得できませんでした。