title: Trouble Deploying to Heroku
body: <p>Alright, I'm new to this and really need some guidance here. </p>
  
  <p>I cannot deploy to Heroku to save my life and have been at it for 8 hours and read every stackoverflow and google post I can find.  </p>
  
  <p>Ruby Version  ----> ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
  Rails Version ----> Rails 4.0.0
  PostgreSQL    ----> psql (PostgreSQL) 9.3.4</p>
  
  <p>Here's what I have going on: </p>
  
  <pre><code>$ git push heroku master
  Initializing repository, done.
  Counting objects: 62, done.
  Delta compression using up to 8 threads.
  Compressing objects: 100% (51/51), done.
  Writing objects: 100% (62/62), 14.40 KiB | 0 bytes/s, done.
  Total 62 (delta 3), reused 0 (delta 0)
      -----&gt; Ruby app detected
      -----&gt; Compiling Ruby/Rails
      -----&gt; Using Ruby version: ruby-2.0.0
      -----&gt; Installing dependencies using 1.6.3
     Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
     Fetching gem metadata from https://rubygems.org/..........
     Fetching additional metadata from https://rubygems.org/..
  Installing...etc etc etc
  </code></pre>
  
  <p>Now I get this...</p>
  
  <pre><code>Your bundle is complete!
     Gems in the groups development and test were not installed.
     It was installed into ./vendor/bundle
     Post-install message from rdoc:
     Depending on your version of ruby, you may need to install ruby rdoc/ri data:
     &lt;= 1.8.6 : unsupported
     = 1.8.7 : gem install rdoc-data; rdoc-data --install
     = 1.9.1 : gem install rdoc-data; rdoc-data --install
     &gt;= 1.9.2 : nothing to do! Yay!
     Bundle completed (11.95s)
     Cleaning up the bundler cache.
  -----&gt; Writing config/database.yml to read from DATABASE_URL
  -----&gt; Preparing app for Rails asset pipeline
         Running: rake assets:precompile
         rake aborted!
         Gem::LoadError: Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile.
  </code></pre>
  
  <p>This is what my Gemfile looks like:</p>
  
  <pre><code>source 'https://rubygems.org'
  
  gem 'rails', '4.0.0'
  
  group :development, :test do
    gem 'sqlite3'
  end
  
  group :production do
    gem 'pg'
  end
  
  gem 'rails_12factor', group: :production
  
  
  group :assets do
    gem 'sass-rails', '~&gt; 4.0.0'
    gem 'uglifier', '&gt;= 1.3.0'
    gem 'coffee-rails', '~&gt; 4.0.0'
  end
  </code></pre>
  
  <p>And here is my database.yml</p>
  
  <pre><code>development:
   adapter: postgresql
   database: rails_development
   pool: 5
   timeout: 5000
  
  test:
   adapter: postgresql
   database: rails_test
   pool: 5
   timeout: 5000
  
  production:
   adapter: postgresql
   database: rails_production
   pool: 5
   timeout: 5000
  </code></pre>