title: Rails bundle install fails
body: <p>I am trying to make a new rails app when typing:</p>
  
  <pre><code>rails new app
  </code></pre>
  
  <p>I then get the error:</p>
  
  <pre><code>Could not find sqlite3-1.3.8 in any of the sources
  Run `bundle install` to install missing gems.
  </code></pre>
  
  <p>I then run bundle install and get this error:</p>
  
  <pre><code>An error occurred while installing sqlite3 (1.3.8), and Bundler cannot      continue.
  Make sure that `gem install sqlite3 -v '1.3.8'` succeeds before bundling.
  </code></pre>
  
  <p>I have<br>
  sqlite3 (1.3.10)
  sqlite3-full (1.3.9.3)
  sqlite3-ruby (1.3.3)</p>
  
  <p>I have no idea why the install wants to use 1.3.8 when I have 1.3.10 installed. I am new to rails but I have made a few small apps in the past few weeks, This is the first time this has happened to me. Is there A local Gem file that I could edit so when I create A new app it doesn't try to use this old gem. I have also tried to create a new app use postgres with the same error.</p>
  
  <p>I am using mac osx 10.10.1. ruby version 2.2.1.</p>
  
  <p>Thanks for any help.</p>
  
  <p>EDIT:
  when I run</p>
  
  <pre><code>gem install sqlite3 -v '1.3.8'
  </code></pre>
  
  <p>this is the result: </p>
  
  <p>./sqlite3_ruby.h:16:36: note: expanded from macro 'RBIGNUM_LEN'
   #define RBIGNUM_LEN(x) RBIGNUM(x)->len</p>
  
  <p>~~~~~~~~~~  ^</p>
  
  <p>statement.c:261:32: error: use of undeclared identifier 'SIZEOF_BDIGITS'
        if (RBIGNUM_LEN(value) * SIZEOF_BDIGITS &lt;= 8) {
                                 ^
  1 warning and 2 errors generated.
  make: *** [statement.o] Error 1</p>
  
  <p>make failed, exit code 2</p>