title: Deploying RoR App fails because of Sqlite3 (tried other posts already)
body: <p>I haven't been able to push my Ruby on Rails app to Heroku because it keeps trying to install sqlite3, and Heroku only uses Postgresql. I've followed the instructions of these posts:</p>
  
  <p><a href="https://stackoverflow.com/questions/3897431/deploying-ror-app-to-heroku-with-sqlite3-fails">Deploying RoR app to Heroku with Sqlite3 fails</a></p>
  
  <p><a href="https://stackoverflow.com/questions/10989183/cant-push-to-heroku-sqlite3-h-is-missing">Can&#39;t push to heroku - sqlite3.h is missing</a></p>
  
  <p>Setting my sqlite3 gem to only be used in the development and test group, and making sure other gems aren't dependent on it, and making sure I do a git commit beforehand. It still gives me the same "sqlite3.h is missing" error. The one thing I've noticed is that when I run the "gem dependency" command I found a few gems that were dependent on sqlite3 in the development phase, which I thought was ok, but maybe it isn't. I can't find where those gems are being installed though. They are:</p>
  
  <p>Gem acts-as-taggable-on-2.3.3</p>
  
  <p>Gem client_side_validations-3.2.1</p>
  
  <p>Gem cucumber-rails-1.3.0</p>
  
  <p>Gem factory_girl-4.1.0</p>
  
  <p>Gem fixture_builder-0.3.4</p>
  
  <p>Gem kaminari-0.14.1</p>
  
  <p>Gem orm_adapter-0.4.0</p>
  
  <p>And each lists something like "sqlite3 (>= 0, development)" as a dependency.
  Anyone have any ideas?</p>
  
  <p>--EDIT--</p>
  
  <p>Here's my gem file:</p>
  
  <pre><code>source 'https://rubygems.org'
  gem 'rails', '3.2.11'
  # Bundle edge Rails instead:
  # gem 'rails', :git =&gt; 'git://github.com/rails/rails.git'
  #group :development, :test do
  #   gem 'sqlite3'
  #end
  group :production do
    gem 'thin'
    gem 'pg'
  end
  # Gems used only for assets and not required
  # in production environments by default.
  group :assets do
    gem 'sass-rails',   '~&gt; 3.2.3'
    gem 'coffee-rails', '~&gt; 3.2.1'
    # See https://github.com/sstephenson/execjs#readme for more supported runtimes
    # gem 'therubyracer', :platforms =&gt; :ruby
    gem 'uglifier', '&gt;= 1.0.3'
  end
  gem 'jquery-rails'
  #gem 'devise'
  # #gem 'omniauth'
  gem 'omniauth-facebook'
  </code></pre>