# Error: Installating sqlite3-ruby (gem)

**URL:** <https://rubytalk.org/t/error-installating-sqlite3-ruby-gem/57268>\
**Category:** ruby-talk\
**Created:** [4 February 2010 10:51 UTC](https://rubytalk.org/t/error-installating-sqlite3-ruby-gem/57268 "2010-02-04T10:51:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shahab\_Qadeer](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@Shahab\_Qadeer](https://rubytalk.org/u/Shahab_Qadeer)\
**Post date:** [4 February 2010 10:51 UTC](https://rubytalk.org/t/error-installating-sqlite3-ruby-gem/57268/1 "2010-02-04T10:51:01Z")

</div>

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

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Shahab\_Qadeer](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@Shahab\_Qadeer](https://rubytalk.org/u/Shahab_Qadeer)\
**Post date:** [4 February 2010 10:51 UTC](https://rubytalk.org/t/error-installating-sqlite3-ruby-gem/57268/2 "2010-02-04T10:51:01Z")

</div>

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

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Luis\_Lavena1](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@Luis\_Lavena1](https://rubytalk.org/u/Luis_Lavena1)\
**Post date:** [4 February 2010 12:35 UTC](https://rubytalk.org/t/error-installating-sqlite3-ruby-gem/57268/3 "2010-02-04T12:35:06Z")

</div>

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.

> **···**
>
> 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

---

<div class="post-metadata">

**Author:** ![spox](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@spox](https://rubytalk.org/u/spox)\
**Post date:** [4 February 2010 20:12 UTC](https://rubytalk.org/t/error-installating-sqlite3-ruby-gem/57268/4 "2010-02-04T20:12:40Z")

</div>

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
