I have been struggling to have my Heroku staging environment mirror my local development environment. The first thing I am struggling with is my index page's slider image. It's being called with ERB in my index.html.erb file, but when I run bash and go into my heroku environment, the image isn't even there? Every other image from my assets/image folder is there except that one. All of my images are in assets/images. There are other subtleties such as different fonts and colours of progress bars that aren't being deployed properly. All of my css files are in assets/stylesheets.
gemfile
source 'https://rubygems.org'
ruby '1.9.3'
gem 'rails', '4.1.1'
gem 'devise', '3.0'
gem 'google-analytics-rails'
gem 'meta-tags'
gem 'databasedotcom'
gem 'databasedotcom-rails'
gem 'protected_attributes'
gem 'thin'
group :development do
gem 'pg'
end
group :production do
gem 'pg'
gem 'newrelic_rpm'
gem 'rails_12factor'
end
gem 'sass-rails', '~> 4.0.2'
gem 'sprockets', '2.11.0'
gem 'sprockets-rails'
gem 'coffee-rails', '~> 4.0.0'
gem 'uglifier', '>= 1.3.0'
gem 'jquery-rails', "~> 2.3.0"
gem 'font-awesome-rails'
application.rb
# Enable the asset pipeline
config.assets.enabled = true
config.assets.initialize_on_precompile = false
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
# Custom error messages
config.exceptions_app = self.routes
# Static assets
config.assets.precompile = true
config.serve_static_assets = true
production.rb
# Disable Rails's static asset server (Apache or nginx will already do this)
config.serve_static_assets = true
# Compress JavaScripts and CSS
config.assets.compress = true
# Don't fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = true
# Generate digests for assets URLs
config.assets.digest = true