Error with setup

8 views
Skip to first unread message

Sascha Manns

unread,
Aug 5, 2015, 1:01:34 AM8/5/15
to Ruboto (JRuby on Android)
Hello list,

i've installed Ruboto with that steps:

* rvm install jruby
* rvm use jruby
* gem install ruboto
* ruboto setup

After running ruboto setup i'm getting:

sascha@sascha-desktop:~/RubymineProjects$ ruboto setup
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar 
Java runtime             : Found
Java Compiler            : Found
Apache ANT               : Found
Android Package Installer: Not found
Android Emulator         : Not found
Android SDK Command adb  : Not found
Android SDK Command dx   : Not found
Platform SDK android-16  : Not found

    !!! Ruboto setup is NOT OK !!!

Android package installer not found.
Would you like to download and install it? (Y/n): Y

After choosing "Y" it breaks with:

F, [2015-08-04T20:44:24.390000 #1581781576] FATAL -- : Java heap space (Java::JavaLang::OutOfMemoryError)
org.jruby.util.ByteList.ensure(ByteList.java:340)
org.jruby.util.io.EncodingUtils.strBufCat(EncodingUtils.java:1042)
org.jruby.util.io.EncodingUtils.encCrStrBufCat(EncodingUtils.java:1127)
org.jruby.RubyString.cat19(RubyString.java:1374)
org.jruby.RubyString.cat19(RubyString.java:1363)
org.jruby.RubyString.append19(RubyString.java:2579)
org.jruby.RubyString.concat19(RubyString.java:2614)
org.jruby.RubyString$INVOKER$i$1$0$concat19.call(RubyString$INVOKER$i$1$0$concat19.gen)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
org.jruby.runtime.callsite.ShiftLeftCallSite.call(ShiftLeftCallSite.java:24)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
org.jruby.runtime.Interpreted19Block.evalBlockBody(Interpreted19Block.java:206)
org.jruby.runtime.Interpreted19Block.yield(Interpreted19Block.java:157)
org.jruby.runtime.Interpreted19Block.yieldSpecific(Interpreted19Block.java:135)
org.jruby.runtime.Block.yieldSpecific(Block.java:120)
rubyjit.Net::ReadAdapter$$call_block_6e6dce6d4beb9939f709f4f28c2879b2e5f479791581781576.__file__(/home/sascha/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/net/protocol.rb:395)
rubyjit.Net::ReadAdapter$$call_block_6e6dce6d4beb9939f709f4f28c2879b2e5f479791581781576.__file__(/home/sascha/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/net/protocol.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:201)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:177)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:183)
rubyjit.Net::ReadAdapter$$\=\^\^_d0540b61039445f01e3634b29fce9b95538fc8f81581781576.__file__(/home/sascha/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/net/protocol.rb:386)
rubyjit.Net::ReadAdapter$$\=\^\^_d0540b61039445f01e3634b29fce9b95538fc8f81581781576.__file__(/home/sascha/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/net/protocol.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:181)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
org.jruby.runtime.callsite.ShiftLeftCallSite.call(ShiftLeftCallSite.java:24)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.WhileNode.interpret(WhileNode.java:131)

Does anyone knows, why it breaks?

Greetings Sascha
Reply all
Reply to author
Forward
0 new messages