Error: Installating sqlite3-ruby (gem)

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

···

--
Posted via http://www.ruby-forum.com/.

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

···

--
Posted via http://www.ruby-forum.com/.

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:

···

On Feb 4, 11:51 am, Shahab Qadeer <shahab_qad...@hotmail.com> wrote:

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

--
Luis Lavena

You want the jdbc-sqlite3 gem:

gem install jdbc-sqlite3

- spox

···

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

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