Error: Installating sqlite3-ruby (gem)

Building native extensions. This could take a while…
null:-1:in <init>': java.lang.IllegalArgumentException from null:-1:instart’
from null:-1:in start' from null:-1:inexec’
from ShellLauncher.java:677:in run' from ShellLauncher.java:238:inrunAndWait’
from RubyKernel.java:1304:in backquote' from org/jruby/RubyKernel$s_method_1_0$RUBYINVOKER$backquote.gen:-1:incall’
from RubyClass.java:568:in finvoke' from RuntimeHelpers.java:409:ininvoke’
from RubyBasicObject.java:317:in callMethod' from DXStrNode.java:74:ininterpret’
from CallOneArgNode.java:57:in interpret' from NewlineNode.java:104:ininterpret’
from BlockNode.java:71:in interpret' from InterpretedMethod.java:210:incall’
from DefaultMethod.java:185:in call' from CachingCallSite.java:330:incacheAndCall’
from CachingCallSite.java:189:in call' from FCallTwoArgNode.java:38:ininterpret’
from NewlineNode.java:104:in interpret' from BlockNode.java:71:ininterpret’
from InterpretedMethod.java:112:in call' from InterpretedMethod.java:124:incall’
from DefaultMethod.java:144:in call' from CachingCallSite.java:280:incacheAndCall’
from CachingCallSite.java:69:in call' from CallManyArgsNode.java:59:ininterpret’
from DAsgnNode.java:110:in interpret' from NewlineNode.java:104:ininterpret’
from BlockNode.java:71:in interpret' from RescueNode.java:225:inexecuteBody’
from RescueNode.java:147:in interpretWithJavaExceptions' from RescueNode.java:110:ininterpret’
from EnsureNode.java:96:in interpret' from BeginNode.java:83:ininterpret’
from NewlineNode.java:104:in interpret' from BlockNode.java:71:ininterpret’
from InterpretedBlock.java:317:in evalBlockBody' from InterpretedBlock.java:268:inyield’
from Block.java:194:in yield' from RubyArray.java:1635:ineachCommon’
from RubyArray.java:1642:in each' from org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:-1:incall’
from CachingCallSite.java:300:in cacheAndCall' from CachingCallSite.java:118:incallBlock’
from CachingCallSite.java:123:in call' from CallNoArgBlockNode.java:64:ininterpret’
from NewlineNode.java:104:in interpret' from BlockNode.java:71:ininterpret’
from InterpretedMethod.java:136:in call' from DefaultMethod.java:153:incall’
from CachingCallSite.java:290:in cacheAndCall' from CachingCallSite.java:109:incall’
from VCallNode.java:85:in interpret' from NewlineNode.java:104:ininterpret’
from BlockNode.java:71:in interpret' from RescueNode.java:225:inexecuteBody’
from RescueNode.java:147:in interpretWithJavaExceptions' from RescueNode.java:110:ininterpret’
from InterpretedMethod.java:136:in call' from DefaultMethod.java:153:incall’
from CachingCallSite.java:290:in cacheAndCall' from CachingCallSite.java:109:incall’
from CallNoArgNode.java:61:in interpret' from DAsgnNode.java:110:ininterpret’
from NewlineNode.java:104:in interpret' from BlockNode.java:71:ininterpret’
from InterpretedBlock.java:317:in evalBlockBody' from InterpretedBlock.java:268:inyield’
from Block.java:194:in yield' from RubyArray.java:1635:ineachCommon’
from RubyArray.java:1642:in each' from org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:-1:incall’
from CachingCallSite.java:300:in cacheAndCall' from CachingCallSite.java:118:incallBlock’
from CachingCallSite.java:123:in call' from CallNoArgBlockNode.java:64:ininterpret’
from NewlineNode.java:104:in interpret' from BlockNode.java:71:ininterpret’
from InterpretedMethod.java:210:in call' from DefaultMethod.java:185:incall’
from CachingCallSite.java:330:in cacheAndCall' from CachingCallSite.java:189:incall’
from CallTwoArgNode.java:59:in interpret' from NewlineNode.java:104:ininterpret’
from BlockNode.java:71:in interpret' from RescueNode.java:225:inexecuteBody’
from RescueNode.java:147:in interpretWithJavaExceptions' from RescueNode.java:110:ininterpret’
from BeginNode.java:83:in interpret' from NewlineNode.java:104:ininterpret’
from InterpretedBlock.java:317:in evalBlockBody' from InterpretedBlock.java:268:inyield’
from Block.java:194:in yield' from RubyArray.java:1635:ineachCommon’
from RubyArray.java:1642:in each' from org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:-1:incall’
from CachingCallSite.java:300:in cacheAndCall' from CachingCallSite.java:118:incallBlock’
from CachingCallSite.java:123:in call' from CallNoArgBlockNode.java:64:ininterpret’
from NewlineNode.java:104:in interpret' from BlockNode.java:71:ininterpret’
from InterpretedMethod.java:136:in call' from DefaultMethod.java:153:incall’
from CachingCallSite.java:290:in cacheAndCall' from CachingCallSite.java:109:incall’
from VCallNode.java:85:in interpret' from NewlineNode.java:104:ininterpret’
from IfNode.java:119:in interpret' from IfNode.java:119:ininterpret’
from NewlineNode.java:104:in interpret' from BlockNode.java:71:ininterpret’
from InterpretedMethod.java:112:in call' from InterpretedMethod.java:124:incall’
from DefaultMethod.java:144:in call' from CachingCallSite.java:280:incacheAndCall’
from CachingCallSite.java:69:in call' from CallSpecialArgNode.java:73:ininterpret’
from NewlineNode.java:104:in interpret' from BlockNode.java:71:ininterpret’
from CaseNode.java:138:in interpret' from NewlineNode.java:104:ininterpret’
from BlockNode.java:71:in interpret' from InterpretedMethod.java:173:incall’
from DefaultMethod.java:169:in call' from CachingCallSite.java:310:incacheAndCall’
from CachingCallSite.java:149:in call' from FCallOneArgNode.java:36:ininterpret’
from NewlineNode.java:104:in interpret' from RescueNode.java:225:inexecuteBody’
from RescueNode.java:147:in interpretWithJavaExceptions' from RescueNode.java:110:ininterpret’
from InterpretedMethod.java:173:in call' from DefaultMethod.java:169:incall’
from CachingCallSite.java:310:in cacheAndCall' from CachingCallSite.java:149:incall’
from CallOneArgNode.java:57:in interpret' from NewlineNode.java:104:ininterpret’
from BlockNode.java:71:in interpret' from InterpretedMethod.java:173:incall’
from DefaultMethod.java:169:in call' from CachingCallSite.java:310:incacheAndCall’
from CachingCallSite.java:149:in call' from gem:24:inrescue_1$RUBY$__rescue___0’
from gem:23:in __file__' from gem:-1:inload’
from Ruby.java:628:in runScript' from Ruby.java:550:inrunNormally’
from Ruby.java:396:in runFromMain' from Main.java:272:inrun’
from Main.java:117:in run' from Main.java:97:inmain’

I’m getting the this error when I try to install sqlite3-ruby gem.
Please help

On Feb 4, 11:51 am, Shahab Q. [email protected] wrote:

Building native extensions. This could take a while…
null:-1:in <init>': java.lang.IllegalArgumentException from null:-1:instart’

sqlite3-ruby gem is a gem for C based Ruby.

You’re trying to install it on JRuby.

I would suggest take a look to the JDBC based connectors for that.

Check JRuby website for mailing list information about asking these
questions:

http://jruby.org/

On Thursday 04 February 2010 02:51:01 am Shahab Q. wrote:

I’m getting the this error when I try to install sqlite3-ruby gem.
Please help

You want the jdbc-sqlite3 gem:

gem install jdbc-sqlite3

  • spox

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs