title: Unable to access app once pushed to heroku
body: <p>I've pushed my app to heroku after some maneuvering around in the gemfile and config/application.rb file</p>
  
  <p>I have <code>config.assets.initialize_on_precompile = false</code> in my application.rb file above my Bundler.require.</p>
  
  <p>Here is the gemfile.</p>
  
  <pre><code>source 'https://rubygems.org'
  ruby '2.1.0'
  
  gem 'rails', '4.0.5'
  
  group :development, :test do
      gem 'sqlite3'
  end
  
  group :production do
      gem 'pg'
  end
  
  gem 'sass-rails', '~&gt; 4.0.2'
  
  gem 'uglifier', '&gt;= 1.3.0'
  
  gem 'coffee-rails', '~&gt; 4.0.0'
  
  gem 'jquery-rails'
  
  gem 'turbolinks'
  
  gem 'jbuilder', '~&gt; 1.2'
  
  group :doc do
    gem 'sdoc', require: false
  end
  
   gem 'bcrypt', '~&gt; 3.1.7'
  
  group :test, :development do
    gem "rspec-rails", "2.13.1"
  end
  
  group :test do
    gem "capybara", "2.1.0"
  end
  
  group :development do
      gem 'pry-rails'
      gem 'nokogiri', '1.6.3.1'
  end
  </code></pre>
  
  <p>When I try to access the application on heroku I get an: </p>
  
  <p>'Application Error
  An error occurred in the application and your page could not be served. Please try again in a few moments.</p>
  
  <p>If you are the application owner, check your logs for details.'</p>
  
  <p>Any ideas?</p>
  
  <p>EDIT: Application.rb posted below as requested:</p>
  
  <pre><code>require File.expand_path('../boot', __FILE__)
  
  require 'rails/all'
  
  config.assets.initialize_on_precompile = false
  
  # Require the gems listed in Gemfile, including any gems
  # you've limited to :test, :development, or :production.
  Bundler.require(*Rails.groups)
  
  module Planner
    class Application &lt; Rails::Application
      # Settings in config/environments/* take precedence over those specified here.
      # Application configuration should go into files in config/initializers
      # -- all .rb files in that directory are automatically loaded.
  
      # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
      # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
      # config.time_zone = 'Central Time (US &amp; Canada)'
  
      # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
      # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
      # config.i18n.default_locale = :de
    end
  end
  </code></pre>