# Error: Installating sqlite3-ruby (gem)

**URL:** <https://www.ruby-forum.com/t/error-installating-sqlite3-ruby-gem/182889>\
**Category:** Ruby\
**Created:** [February 4, 2010, 11:49am UTC](https://www.ruby-forum.com/t/error-installating-sqlite3-ruby-gem/182889 "2010-02-04T11:49:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@shahab](https://www.ruby-forum.com/u/shahab)\
**Post date:** [February 4, 2010, 11:49am UTC](https://www.ruby-forum.com/t/error-installating-sqlite3-ruby-gem/182889/1 "2010-02-04T11:49:21Z")

</div>

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’

---

<div class="post-metadata">

**Author:** ![shahab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@shahab](https://www.ruby-forum.com/u/shahab)\
**Post date:** [February 4, 2010, 11:50am UTC](https://www.ruby-forum.com/t/error-installating-sqlite3-ruby-gem/182889/2 "2010-02-04T11:50:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![shahab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@shahab](https://www.ruby-forum.com/u/shahab)\
**Post date:** [February 4, 2010, 1:49pm UTC](https://www.ruby-forum.com/t/error-installating-sqlite3-ruby-gem/182889/3 "2010-02-04T13:49:08Z")

</div>

On Feb 4, 11:51 am, Shahab Q. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

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

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:

> **[Home — JRuby.org](https://www.jruby.org)**
>
> JRuby is a high performance, stable, fully threaded Java implementation of the Ruby programming language.

---

<div class="post-metadata">

**Author:** ![shahab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@shahab](https://www.ruby-forum.com/u/shahab)\
**Post date:** [February 4, 2010, 9:13pm UTC](https://www.ruby-forum.com/t/error-installating-sqlite3-ruby-gem/182889/4 "2010-02-04T21:13:38Z")

</div>

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
