What this mistake: failed to push some refs to 'git#heroku.com? - ruby-on-rails

I want to unload on Heroku.com own application on RubyOnRails, but I face some problems. One of this problems is that: LoadError: Please install the sqlite3 adapter: gem install activerecord-sqlite3-adapter (sqlite3 is not part of the bundle. Add it to Gemfile.)
Another problem is error: failed to push some refs to 'git#heroku.com:secure-anchorage-3129.git'
ark#ark-Aspire-5750G:~/priroda$ git push heroku master
Initializing repository, done.
Counting objects: 101, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (89/89), done.
Writing objects: 100% (101/101), 125.08 KiB, done.
Total 101 (delta 4), reused 0 (delta 0)
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> 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 multi_json 1.10.1
Installing i18n 0.6.9
Installing rake 10.3.2
Installing builder 3.0.4
Installing journey 1.0.4
Installing erubis 2.7.0
Installing rack 1.4.5
Installing hike 1.2.3
Installing tilt 1.4.1
Installing mime-types 1.25.1
Installing polyglot 0.3.5
Installing arel 3.0.3
Installing acts_as_indexed 0.8.3
Installing babosa 0.3.11
Installing tzinfo 0.3.39
Installing coffee-script-source 1.7.0
Installing execjs 2.2.0
Installing thor 0.19.1
Installing orm_adapter 0.5.0
Using bundler 1.6.3
Installing bcrypt 3.1.7
Installing sass 3.3.8
Installing truncate_html 0.9.2
Installing json 1.8.1
Installing will_paginate 3.0.5
Installing rails-i18n 0.7.4
Installing activesupport 3.2.18
Installing rack-cache 1.2
Installing rack-test 0.6.2
Installing rack-ssl 1.3.4
Installing warden 1.2.3
Installing sprockets 2.2.2
Installing treetop 1.4.15
Installing coffee-script 2.2.0
Installing bcrypt-ruby 3.1.5
Installing dragonfly 0.9.15
Installing rdoc 3.12.2
Installing uglifier 2.5.1
Installing activemodel 3.2.18
Installing mail 2.5.4
Installing activerecord 3.2.18
Installing activeresource 3.2.18
Installing actionpack 3.2.18
Installing awesome_nested_set 2.1.6
Installing friendly_id 4.0.10.1
Installing globalize 3.1.0
Installing actionmailer 3.2.18
Installing routing-filter 0.3.1
Installing refinerycms-i18n 2.1.0
Installing railties 3.2.18
Installing coffee-rails 3.2.2
Installing decorators 1.0.3
Installing devise 2.2.8
Installing rails 3.2.18
Installing jquery-rails 2.3.0
Installing seo_meta 1.4.0
Installing sass-rails 3.2.6
Installing refinerycms-core 2.1.2
Installing refinerycms-dashboard 2.1.2
Installing refinerycms-authentication 2.1.2
Installing refinerycms-images 2.1.2
Installing refinerycms-resources 2.1.2
Installing refinerycms-pages 2.1.2
Installing refinerycms-acts-as-indexed 1.0.0
Installing refinerycms 2.1.2
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Post-install message from bcrypt-ruby:
#######################################################
The bcrypt-ruby gem has changed its name to just bcrypt. Instead of
installing `bcrypt-ruby`, you should install `bcrypt`. Please update your
dependencies accordingly.
#######################################################
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Post-install message from friendly_id:
NOTE: FriendlyId 4.x breaks compatibility with 3.x. If you're upgrading
from 3.x, please see this document:
http://rubydoc.info/github/norman/friendly_id/master/file/WhatsNew.md
Post-install message from globalize:
Globalize has extracted versioning support to a separate gem named
globalize-versioning. If you are using versioning (with paper_trail
or any other versioning gem), please add the line
"gem 'globalize-versioning'" to your Gemfile and go to the github
page at globalize/globalize-versioning if you encounter any problems.
Note that the globalize-versioning gem does not delegate versions to
the translation table, so you will have to update your syntax to
the form: `post.translation.versions`. See the globalize-versioning
readme for details.
Bundle completed (17.42s)
Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /tmp/build_5d23c95e-376b-4495-829f-69495105c73c/Rakefile:7)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /tmp/build_5d23c95e-376b-4495-829f-69495105c73c/Rakefile:7)
rake aborted!
LoadError: Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (sqlite3 is not part of the bundle. Add it to Gemfile.)
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/bundler-1.6.3/lib/bundler/rubygems_integration.rb:252:in `block in replace_gem'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.18/lib/active_record/connection_adapters/sqlite3_adapter.rb:3:in `<top (required)>'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `block in require'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:236:in `load_dependency'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_specification.rb:50:in `resolve_hash_connection'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_specification.rb:41:in `resolve_string_connection'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_specification.rb:27:in `spec'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_specification.rb:130:in `establish_connection'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.18/lib/active_record/railtie.rb:88:in `block (2 levels) in <class:Railtie>'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/lazy_load_hooks.rb:26:in `block in on_load'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/lazy_load_hooks.rb:25:in `each'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/lazy_load_hooks.rb:25:in `on_load'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.18/lib/active_record/railtie.rb:80:in `block in <class:Railtie>'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/railties-3.2.18/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/railties-3.2.18/lib/rails/initializable.rb:30:in `run'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/railties-3.2.18/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/railties-3.2.18/lib/rails/initializable.rb:54:in `each'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/railties-3.2.18/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/railties-3.2.18/lib/rails/application.rb:136:in `initialize!'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/config/environment.rb:5:in `<top (required)>'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `block in require'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:236:in `load_dependency'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/railties-3.2.18/lib/rails/application.rb:103:in `require_environment!'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/railties-3.2.18/lib/rails/application.rb:305:in `block (2 levels) in initialize_tasks'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.18/lib/sprockets/assets.rake:93:in `block (2 levels) in <top (required)>'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.18/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.18/lib/sprockets/assets.rake:23:in `invoke_or_reboot_rake_task'
/tmp/build_5d23c95e-376b-4495-829f-69495105c73c/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.18/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
To git#heroku.com:secure-anchorage-3129.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:secure-anchorage-3129.git'
ark#ark-Aspire-5750G:~/priroda$

Heroku doesn't do sqlite - it uses Postgres instead. See if you have sqlite gem in your Gemfile and if you do, try replacing it with something like this:
group :development do
gem 'sqlite3'
end
group :production do
gem 'pg'
end

Related

Cannot deploy. Heroku dashboard shows "Latest build failed"

Screenshot of error message on Heroku dashboard.
Here's the log (I'm very new to this so I've redacted some stuff in the lower section that looked like it might be private):
-----> Using set buildpack heroku/ruby
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.5
###### WARNING:
Removing `Gemfile.lock` because it was generated on Windows.
Bundler will do a full resolve so native gems are handled properly.
This may result in unexpected gem versions being used in your app.
In rare occasions Bundler may not be able to resolve your dependencies at all.
https://devcenter.heroku.com/articles/bundler-windows-gemfile
-----> Installing dependencies using bundler 1.9.7
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4
Your Gemfile lists the gem rest-client (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Fetching gem metadata from http://rubygems.org/...........
Fetching version metadata from http://rubygems.org/...
Fetching dependency metadata from http://rubygems.org/..
Resolving dependencies.....
Using rake 10.5.0
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using rack 1.6.4
Using mime-types 2.99
Using arel 6.0.3
Using acts_as_follower 0.2.1
Using acts_as_votable 0.10.0
Using httpclient 2.7.1
Using aws_cf_signer 0.1.3
Using unf_ext 0.0.7.2
Using netrc 0.11.0
Using bundler 1.9.7
Using thor 0.19.1
Using concurrent-ruby 1.0.0
Using bcrypt 3.1.10
Using coffee-script-source 1.10.0
Using execjs 2.6.0
Using orm_adapter 0.5.0
Using elo 0.1.0
Using exception_handler 0.4.7
Using geocoder 1.3.0
Using gmaps4rails 2.1.2
Using gravtastic 3.2.6
Using tilt 2.0.2
Using hashie 3.4.3
Using high_voltage 2.2.1
Using imgkit 1.6.1
Using multi_json 1.11.2
Using kgio 2.10.0
Using libv8 3.16.14.13
Using newrelic_rpm 3.14.3.313
Using pg 0.18.4
Using pusher-signature 0.1.8
Using rack-cors 0.4.0
Using rails_serve_static_assets 0.0.5
Using rails_stdout_logging 0.0.4
Using raindrops 0.15.0
Using rdiscount 2.1.8
Using redcarpet 3.3.4
Using ref 2.0.0
Using sass 3.4.21
Using rack-test 0.6.3
Using warden 1.2.6
Using mail 2.6.3
Using nokogiri 1.6.7.2
Using algoliasearch 1.7.0
Using unf 0.1.4
Using tzinfo 1.2.2
Using coffee-script 2.4.1
Using uglifier 2.7.2
Using haml 4.0.7
Using omniauth 1.3.1
Using sprockets 3.5.2
Using rollbar 1.4.5
Using pusher 0.16.0
Using rails_12factor 0.0.3
Using unicorn 5.0.1
Using therubyracer 0.12.2
Using loofah 2.0.3
Using impressionist 1.5.1
Using algoliasearch-rails 1.14.1
Using domain_name 0.5.20160128
Using activesupport 4.2.1
Using rails-html-sanitizer 1.0.3
Using http-cookie 1.0.2
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.6
Using activemodel 4.2.1
Using carmen 1.0.2
Using jbuilder 2.4.1
Using rest-client 1.8.0
Using activejob 4.2.1
Using activerecord 4.2.1
Using rails-dom-testing 1.0.7
Using cloudinary 1.1.2
Using friendly_id 5.1.0
Using actionview 4.2.1
Using actionpack 4.2.1
Using actionmailer 4.2.1
Using railties 4.2.1
Using sprockets-rails 3.0.1
Using simple_form 3.2.1
Using rails 4.2.1
Using momentjs-rails 2.11.0
Using coffee-rails 4.1.1
Using jquery-rails 4.1.0
Using responders 2.1.1
Using public_activity 1.4.2
Using sass-rails 5.0.4
Using attachinary 1.3.1
Using carmen-rails 1.0.1
Using rails_autolink 1.1.6
Using bootstrap3-datetimepicker-rails 4.7.14
Using turbolinks 2.5.3
Using commontator 4.10.5
Using devise 3.5.6
Using devise_token_auth 0.1.37
Installing dalli 2.7.6
Bundle complete! 53 Gemfile dependencies, 104 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle.
Bundle completed (6.84s)
Cleaning up the bundler cache.
Your Gemfile lists the gem rest-client (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Removing dalli (2.7.5)
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
NoMethodError: undefined method `setup' for ExceptionHandler:Module
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/config/initializers/exception_handler.rb:6:in `<top (required)>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `block in load'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:652:in `block in load_config_initializer'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/notifications.rb:166:in `instrument'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:651:in `load_config_initializer'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:615:in `each'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:615:in `block in <class:Engine>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `each'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `tsort_each_child'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:352:in `initialize!'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/config/environment.rb:5:in `<top (required)>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:328:in `require_environment!'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:457:in `block in run_tasks_blocks'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/sprockets-rails-3.0.1/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
Thanks for all the help
EDIT:
Here is the new build log:
-----> Using set buildpack heroku/ruby
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.5
###### WARNING:
Removing `Gemfile.lock` because it was generated on Windows.
Bundler will do a full resolve so native gems are handled properly.
This may result in unexpected gem versions being used in your app.
In rare occasions Bundler may not be able to resolve your dependencies at all.
https://devcenter.heroku.com/articles/bundler-windows-gemfile
-----> Installing dependencies using bundler 1.9.7
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4
Your Gemfile lists the gem rest-client (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Fetching gem metadata from http://rubygems.org/...........
Fetching version metadata from http://rubygems.org/...
Fetching dependency metadata from http://rubygems.org/..
Resolving dependencies.....
Using rake 10.5.0
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using rack 1.6.4
Using arel 6.0.3
Using acts_as_follower 0.2.1
Using acts_as_votable 0.10.0
Using httpclient 2.7.1
Using aws_cf_signer 0.1.3
Using unf_ext 0.0.7.2
Using netrc 0.11.0
Using bundler 1.9.7
Using thor 0.19.1
Using concurrent-ruby 1.0.0
Using bcrypt 3.1.10
Using coffee-script-source 1.10.0
Using execjs 2.6.0
Using orm_adapter 0.5.0
Using elo 0.1.0
Using exception_handler 0.4.7
Installing mime-types 2.99.1
Using gmaps4rails 2.1.2
Using gravtastic 3.2.6
Using tilt 2.0.2
Using hashie 3.4.3
Using high_voltage 2.2.1
Using imgkit 1.6.1
Using multi_json 1.11.2
Using kgio 2.10.0
Using libv8 3.16.14.13
Installing dalli 2.7.6
Using pg 0.18.4
Using pusher-signature 0.1.8
Using rack-cors 0.4.0
Using rails_serve_static_assets 0.0.5
Using rails_stdout_logging 0.0.4
Using raindrops 0.15.0
Using rdiscount 2.1.8
Using redcarpet 3.3.4
Using ref 2.0.0
Using sass 3.4.21
Using tzinfo 1.2.2
Using nokogiri 1.6.7.2
Using rack-test 0.6.3
Using warden 1.2.6
Using algoliasearch 1.7.0
Using unf 0.1.4
Using sprockets 3.5.2
Using coffee-script 2.4.1
Using uglifier 2.7.2
Using mail 2.6.3
Using haml 4.0.7
Using omniauth 1.3.1
Using rollbar 1.4.5
Installing geocoder 1.3.1
Using rails_12factor 0.0.3
Using unicorn 5.0.1
Using therubyracer 0.12.2
Using activesupport 4.2.1
Using loofah 2.0.3
Using impressionist 1.5.1
Using algoliasearch-rails 1.14.1
Installing domain_name 0.5.20160216
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.6
Using activemodel 4.2.1
Using carmen 1.0.2
Using jbuilder 2.4.1
Using rails-html-sanitizer 1.0.3
Using http-cookie 1.0.2
Using rails-dom-testing 1.0.7
Using activejob 4.2.1
Using activerecord 4.2.1
Using rest-client 1.8.0
Using actionview 4.2.1
Using friendly_id 5.1.0
Using cloudinary 1.1.2
Using actionpack 4.2.1
Using actionmailer 4.2.1
Using railties 4.2.1
Installing pusher 0.17.0
Using simple_form 3.2.1
Using momentjs-rails 2.11.0
Using coffee-rails 4.1.1
Using jquery-rails 4.1.0
Using responders 2.1.1
Installing sprockets-rails 3.0.2
Using bootstrap3-datetimepicker-rails 4.7.14
Using turbolinks 2.5.3
Using devise 3.5.6
Using rails 4.2.1
Using sass-rails 5.0.4
Using attachinary 1.3.1
Using carmen-rails 1.0.1
Using commontator 4.10.5
Using devise_token_auth 0.1.37
Using rails_autolink 1.1.6
Installing public_activity 1.4.3
Installing newrelic_rpm 3.15.0.314
Bundle complete! 53 Gemfile dependencies, 104 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle.
Bundle completed (7.39s)
Cleaning up the bundler cache.
Your Gemfile lists the gem rest-client (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Removing public_activity (1.4.2)
Removing domain_name (0.5.20160128)
Removing pusher (0.16.0)
Removing mime-types (2.99)
Removing dalli (2.7.5)
Removing newrelic_rpm (3.14.3.313)
Removing sprockets-rails (3.0.1)
Removing geocoder (1.3.0)
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
NoMethodError: undefined method `setup' for ExceptionHandler:Module
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/config/initializers/exception_handler.rb:6:in `<top (required)>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `block in load'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:652:in `block in load_config_initializer'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/notifications.rb:166:in `instrument'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:651:in `load_config_initializer'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:615:in `each'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:615:in `block in <class:Engine>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `each'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `tsort_each_child'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:352:in `initialize!'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/config/environment.rb:5:in `<top (required)>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:328:in `require_environment!'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:457:in `block in run_tasks_blocks'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/sprockets-rails-3.0.2/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
From the Heroku docs:
This means that your app is attempting to connect to the database as part of rake assets:precompile. Because the config vars are not present in the environment, we use a placeholder DATABASE_URL to satisfy Rails.
To resolve this issue, ensure that the following line appears in your config/application.rb:
# config/application.rb
config.assets.initialize_on_precompile = false
Once added, commit your change and redeploy to Heroku – your assets should compile without your app attempting to connect to the database, which should resolve the error you're witnessing.
UPDATE:
Line 46 of your stacktrace includes the following message: Devise.secret_key was not set.
According to the author of Devise, José Valim, this issue can be resolved in the following manner:
Please add the following to your Devise initializer:
config.secret_key = '-- secret key --'
Alternatively, the following solution seems to have worked for a number of users:
I went to my routes.rb file and commented out the line devise_for :installs
Then I went back and reran rails generate devise:install. If that doesn't work, use the previous version of devise by editing your Gemfile's reference to Devise like this: gem 'devise', '3.0.3' and then follow the steps i mentioned above.
Please look at https://stackoverflow.com/a/19650687/1380867 and thanks
zeantsoi for this answer
I made ExceptionHandler and it seems it's causing the issue...
NoMethodError: undefined method `setup' for ExceptionHandler:Module
In ExceptionHandler > 0.4.5, the initializer has been replaced with config methods:
From the docs:
IMPORTANT
If you're upgrading to 0.4.6, you need to remove your exception_handler initializer.
We've changed the load process to use Rails app config - you don't need the exception_handler initializer any more
You need to copy your exception_handler settings from config/initializers/exception_handler.rb and place them into config/production.rb.
You need to delete config/initializers/exception_handler.rb
--
I am available to chat if you leave a comment etc

Heroku Application Error Hello_App from Ruby on Rails tutorial

I'm in the deployment section of the first chapter of the Ruby on Rails tutorial, and I can't make things work! I'm using the Cloud9 workspace.
My Gemfile is:
source 'https://rubygems.org'
ruby '2.2.1'
gem 'rails', '4.2.0'
gem 'sass-rails', '5.0.1'
gem 'uglifier', '2.5.3'
gem 'coffee-rails', '4.1.0'
gem 'jquery-rails', '4.0.3'
gem 'turbolinks', '2.3.0'
gem 'jbuilder', '2.2.3'
gem 'sdoc', '0.4.0', group: :doc
group :development, :test do
gem 'sqlite3', '1.3.9'
gem 'byebug', '3.4.0'
gem 'web-console', '2.0.0.beta3'
gem 'spring', '1.1.3'
end
group :production do
gem 'pg', '0.17.1'
gem 'rails_12factor', '0.0.2'
end
My Heroku installation log is:
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.2.1
-----> Installing dependencies using 1.9.7
Ruby version change detected. Clearing bundler cache.
Old: ruby 2.0.0p645 (2015-04-13 revision 50299) [x86_64-linux]
New: ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Using rake 10.4.2
Installing minitest 5.7.0
Installing i18n 0.7.0
Installing builder 3.2.2
Installing thread_safe 0.3.5
Installing mini_portile 0.6.2
Installing erubis 2.7.0
Installing rack 1.6.4
Installing mime-types 2.6.1
Installing coffee-script-source 1.9.1.1
Installing arel 6.0.2
Installing json 1.8.3
Installing execjs 2.5.2
Installing thor 0.19.1
Using bundler 1.9.7
Installing multi_json 1.11.2
Installing rails_stdout_logging 0.0.3
Using rdoc 4.2.0
Installing rails_serve_static_assets 0.0.4
Installing tilt 1.4.1
Installing sass 3.4.16
Installing tzinfo 1.2.2
Installing rack-test 0.6.3
Installing sprockets 3.2.0
Installing mail 2.6.3
Installing coffee-script 2.4.1
Installing uglifier 2.5.3
Installing sdoc 0.4.0
Installing rails_12factor 0.0.2
Installing activesupport 4.2.0
Installing rails-deprecated_sanitizer 1.0.3
Installing globalid 0.3.5
Installing activemodel 4.2.0
Installing jbuilder 2.2.3
Installing activejob 4.2.0
Installing activerecord 4.2.0
Installing pg 0.17.1
Installing nokogiri 1.6.6.2
Installing loofah 2.0.2
Installing rails-dom-testing 1.0.6
Installing rails-html-sanitizer 1.0.2
Installing actionview 4.2.0
Installing actionpack 4.2.0
Installing sprockets-rails 2.3.2
Installing actionmailer 4.2.0
Installing railties 4.2.0
Installing coffee-rails 4.1.0
Installing jquery-rails 4.0.3
Installing rails 4.2.0
Installing sass-rails 5.0.1
Installing turbolinks 2.3.0
Bundle complete! 14 Gemfile dependencies, 51 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle.
Bundle completed (35.52s)
Cleaning up the bundler cache.
Could not detect rake tasks
ensure you can run `$ bundle exec rake -P` against your app with no environment variables present
and using the production group of your Gemfile.
rake aborted!
NameError: uninitialized constant Sass::Script
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/bundle/ruby/2.2.0/gems/sass-rails-5.0.1/lib/sass/rails/helpers.rb:11:in `<top (required)>'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/bundle/ruby/2.2.0/gems/sass-rails-5.0.1/lib/sass/rails.rb:8:in `require'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/bundle/ruby/2.2.0/gems/sass-rails-5.0.1/lib/sass/rails.rb:8:in `<top (required)>'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/bundle/ruby/2.2.0/gems/sass-rails-5.0.1/lib/sass-rails.rb:1:in `require'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/bundle/ruby/2.2.0/gems/sass-rails-5.0.1/lib/sass-rails.rb:1:in `<top (required)>'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/runtime.rb:76:in `require'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/runtime.rb:72:in `each'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/runtime.rb:72:in `block in require'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/runtime.rb:61:in `each'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/runtime.rb:61:in `require'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler.rb:134:in `require'
/tmp/build_e66783d527b235cf6db9221a52037d9b/config/application.rb:7:in `<top (required)>'
/tmp/build_e66783d527b235cf6db9221a52037d9b/Rakefile:4:in `require'
/tmp/build_e66783d527b235cf6db9221a52037d9b/Rakefile:4:in `<top (required)>'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/ruby-2.2.1/lib/ruby/2.2.0/rake/rake_module.rb:28:in `load'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/ruby-2.2.1/lib/ruby/2.2.0/rake/rake_module.rb:28:in `load_rakefile'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:689:in `raw_load_rakefile'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:94:in `block in load_rakefile'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:93:in `load_rakefile'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:77:in `block in run'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:75:in `run'
/tmp/build_e66783d527b235cf6db9221a52037d9b/vendor/ruby-2.2.1/lib/ruby/gems/2.2.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
vendor/bundle/bin/rake:16:in `load'
vendor/bundle/bin/rake:16:in `<main>'
###### WARNING:
No Procfile detected, using the default web server (webrick)
https://devcenter.heroku.com/articles/ruby-default-web-server
-----> Discovering process types
Procfile declares types -> (none)
Default types for Ruby -> console, rake, web, worker
-----> Compressing... done, 29.1MB
-----> Launching... done, v6
https://lit-caverns-5466.herokuapp.com/ deployed to Heroku
When I open the link I get the message:
Application Error
An error occurred in the application and your page could not be
served. Please try again in a few moments.
If you are the application owner, check your logs for details.
Does your app run successfully in production mode locally ? If not try to run your app locally in production mode and you might be able to spot the issue.
bundle install --without development:test
RAILS_ENV=production rake db:create db:migrate
RAILS_ENV=production rails s

Heroku|Ruby ArgumentError: Missing required arguments:

I have added the aws access info in /config/initializers/carrier_wave.rb:
if Rails.env.production?
CarrierWave.configure do |config|
config.fog_credentials = {
# Configuration for Amazon S3
:provider => 'AWS',
:aws_access_key_id => ENV['access_key'],
:aws_secret_access_key => ENV['secret_access_key'],
}
config.fog_directory = ENV['bucket']
end
end
but when i try to push to heroku, i get the following error: i am not sure what else to do, any help would be greatly appreciated.
JUSTINs-iMac:premidx justindoshay$ git push heroku
Fetching repository, done.
Counting objects: 23, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (12/12), 1.09 KiB | 0 bytes/s, done.
Total 12 (delta 9), reused 0 (delta 0)
-----> Removing .DS_Store files
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.3
-----> Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Using rake 10.3.2
Using minitest 5.4.2
Using thread_safe 0.3.4
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile 0.6.1
Using rack 1.6.0.beta
Using i18n 0.7.0.beta1
Using mime-types 2.4.3
Using arel 6.0.0.beta2
Using bcrypt 3.1.7
Using sass 3.4.7
Using json 1.8.1
Using will_paginate 3.0.7
Using thor 0.19.1
Using cancan 1.6.10
Using uber 0.0.10
Using execjs 2.2.2
Using formatador 0.2.5
Using coffee-script-source 1.8.0
Using excon 0.41.0
Using net-ssh 2.9.1
Using inflecto 0.0.2
Using multi_json 1.10.1
Using ipaddress 0.8.0
Using gritter 1.1.0
Using hike 1.2.3
Using kgio 2.9.2
Using pg 0.17.1
Using bundler 1.6.3
Using subexec 0.2.3
Using rails_serve_static_assets 0.0.2
Using tilt 1.4.1
Using raindrops 0.13.0
Using rails_stdout_logging 0.0.3
Using tzinfo 1.2.2
Using nokogiri 1.6.4
Using rack-test 0.6.2
Using rdoc 4.1.2
Using mail 2.6.3
Using bootstrap-will_paginate 0.0.10
Using bootstrap-sass 3.2.0.0
Using uglifier 2.5.3
Using faker 1.4.2
Using coffee-script 2.3.0
Using net-scp 1.2.1
Using fog-json 1.0.0
Using mini_magick 3.8.0
Using unicorn 4.8.3
Using activesupport 4.2.0.beta4
Using sprockets 2.12.3
Using rails_12factor 0.0.2
Using sdoc 0.4.0
Using fog-core 1.24.0
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.0
Using loofah 2.0.1
Using jbuilder 2.2.3
Using activemodel 4.2.0.beta4
Using fog-brightbox 0.6.1
Using fog-softlayer 0.3.23
Using rails-dom-testing 1.0.4
Using activejob 4.2.0.beta4
Using rails-html-sanitizer 1.0.1
Using activerecord 4.2.0.beta4
Using carrierwave 0.10.0
Using actionview 4.2.0.beta4
Using fog 1.23.0
Using friendly_id 5.0.4
Using actionpack 4.2.0.beta4
Using actionmailer 4.2.0.beta4
Using sprockets-rails 3.0.0.beta1
Using simple_form 3.0.2
Using railties 4.2.0.beta4
Using coffee-rails 4.0.1
Using cells 3.11.2
Using jquery-rails 4.0.0.beta2
Using rails 4.2.0.beta4
Using sass-rails 5.0.0.beta1
Using turbolinks 2.3.0
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Bundle completed (0.79s)
Cleaning up the bundler cache.
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
ArgumentError: Missing required arguments: aws_access_key_id, aws_secret_access_key
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/fog-core-1.24.0/lib/fog/core/service.rb:237:in `validate_options'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/fog-core-1.24.0/lib/fog/core/service.rb:261:in `handle_settings'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/fog-core-1.24.0/lib/fog/core/service.rb:98:in `new'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/fog-core-1.24.0/lib/fog/storage.rb:26:in `new'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:83:in `eager_load_fog'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:96:in `fog_credentials='
/tmp/build_147081514681b2a6351adf453926ef97/config/initializers/carrier_wave.rb:3:in `block in <top (required)>'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:118:in `configure'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave.rb:14:in `configure'
/tmp/build_147081514681b2a6351adf453926ef97/config/initializers/carrier_wave.rb:2:in `<top (required)>'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in `load'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in `block in load'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:237:in `load_dependency'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in `load'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/engine.rb:648:in `block in load_config_initializer'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/notifications.rb:166:in `instrument'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/engine.rb:647:in `load_config_initializer'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/engine.rb:611:in `each'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/engine.rb:611:in `block in <class:Engine>'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:30:in `run'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:44:in `each'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:44:in `tsort_each_child'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/application.rb:349:in `initialize!'
/tmp/build_147081514681b2a6351adf453926ef97/config/environment.rb:5:in `<top (required)>'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:252:in `require'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:252:in `block in require'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:237:in `load_dependency'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:252:in `require'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/application.rb:325:in `require_environment!'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/application.rb:438:in `block in run_tasks_blocks'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/sprockets-rails-3.0.0.beta1/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
To git#heroku.com:damp-coast-2948.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:damp-coast-2948.git'
Make certain that your environment variables are set
You can do this by running
heroku config
in your terminal.
This command will output your current environment variables, if you do not see ACCESS_KEY or
SECRET_ACCESS_KEY then run the following command in terminal
heroku config:set ACCESS_KEY=YOUR_ACCESS_KEY_HERE
heroku config:set SECRET_ACCESS_KEY=YOUR_SECRET_ACCESS_KEY_HERE
You must set the config vars. Go to your app on Heroku, click Settings and Reveal Config Vars.
Heroku Docs

Heroku w/ sqlite3 issues: Precompiling assets failed. Push rejected, failed to compile Ruby app

So, I cam across a error when pushing to heroku that I have not seen before. I am actively trying learn what the error means so I can fix it.
I see there there is issues with my sqlite3 but still cannot figure out a fix. After screwing up my gem files and then hours to get it back working on my local, I am here to ask for some help.
Any input would be greatly appreciated!
Haydens-MacBook-Air:TicketFee_Calculator haydengoldman$ git push heroku master
Initializing repository, done.
Counting objects: 215, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (197/197), done.
Writing objects: 100% (215/215), 291.41 KiB | 244.00 KiB/s, done.
Total 215 (delta 66), reused 0 (delta 0)
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.3
-----> 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/..........
Using json 1.8.1
Installing minitest 5.4.2
Installing i18n 0.6.11
Installing rake 10.3.2
Installing builder 3.2.2
Installing erubis 2.7.0
Installing rack 1.5.2
Installing arel 5.0.1.20140414130214
Installing mime-types 2.4.1
Installing sass 3.2.19
Installing coffee-script-source 1.8.0
Installing thor 0.19.1
Installing hike 1.2.3
Installing multi_json 1.10.1
Using bundler 1.6.3
Installing tilt 1.4.1
Installing thread_safe 0.3.4
Installing rails_serve_static_assets 0.0.2
Installing rdoc 4.1.2
Installing rails_stdout_logging 0.0.3
Installing rack-test 0.6.2
Installing bootstrap-sass 3.1.1.0
Installing execjs 2.2.1
Installing mail 2.6.1
Installing tzinfo 1.2.2
Installing sprockets 2.11.0
Installing coffee-script 2.3.0
Installing rails_12factor 0.0.2
Installing sdoc 0.4.1
Installing uglifier 2.5.3
Installing activesupport 4.1.6
Installing activemodel 4.1.6
Installing jbuilder 2.2.2
Installing actionview 4.1.6
Installing actionpack 4.1.6
Installing railties 4.1.6
Installing actionmailer 4.1.6
Installing activerecord 4.1.6
Installing sprockets-rails 2.1.4
Installing coffee-rails 4.0.1
Installing jquery-rails 3.1.2
Installing sass-rails 4.0.3
Installing turbolinks 2.4.0
Installing rails 4.1.6
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:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Bundle completed (22.97s)
Cleaning up the bundler cache.
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
DEPRECATION WARNING: Paths in SQLite3 database URLs of the form `sqlite3:///path` will be treated as absolute in Rails 4.2. Please switch to `sqlite3:dbname`. (called from <top (required)> at /tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/Rakefile:6)
rake aborted!
Gem::LoadError: Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/connection_specification.rb:190:in `rescue in spec'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/connection_specification.rb:187:in `spec'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_handling.rb:50:in `establish_connection'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/railtie.rb:129:in `block (2 levels) in <class:Railtie>'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/lazy_load_hooks.rb:28:in `block in on_load'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/lazy_load_hooks.rb:27:in `each'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/lazy_load_hooks.rb:27:in `on_load'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/railtie.rb:118:in `block in <class:Railtie>'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/initializable.rb:30:in `run'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application.rb:300:in `initialize!'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/config/environment.rb:5:in `<top (required)>'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `block in require'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in `load_dependency'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application.rb:276:in `require_environment!'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application.rb:389:in `block in run_tasks_blocks'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/sprockets-rails-2.1.4/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'
Gem::LoadError: sqlite3 is not part of the bundle. Add it to Gemfile.
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/bundler-1.6.3/lib/bundler/rubygems_integration.rb:252:in `block in replace_gem'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/sqlite3_adapter.rb:5:in `<top (required)>'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `block in require'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in `load_dependency'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/connection_specification.rb:188:in `spec'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_handling.rb:50:in `establish_connection'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/railtie.rb:129:in `block (2 levels) in <class:Railtie>'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/lazy_load_hooks.rb:28:in `block in on_load'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/lazy_load_hooks.rb:27:in `each'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/lazy_load_hooks.rb:27:in `on_load'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.6/lib/active_record/railtie.rb:118:in `block in <class:Railtie>'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/initializable.rb:30:in `run'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application.rb:300:in `initialize!'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/config/environment.rb:5:in `<top (required)>'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `block in require'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in `load_dependency'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application.rb:276:in `require_environment!'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application.rb:389:in `block in run_tasks_blocks'
/tmp/build_4336c1c2-aef4-47f5-a267-de3bc5fa5690/vendor/bundle/ruby/2.1.0/gems/sprockets-rails-2.1.4/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
To git#heroku.com:ancient-castle-6465.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:ancient-castle-6465.git'
Heroku uses postgresql database, so remove the sqlite3 from the gem file or move it to the development group and add the gem 'pg' to your gem file. Regarding database.yml setting follow this Heroku setup
Make sure you have removed the sqlite3 gem from your Gemfile and ran bundle install.
If you continue to receive this error, check your Gemfile.lock as some gems list sqlite3 as a dependency - you'll want to remove those gems as well.

Heroku fail on precompile

When using git to push to heroku the rake fails on precompile.
I am using ruby 2.0.0
I am using gem 'pg'
I am using fem 'rails_12factor'
Here is the gitHub of the files: https://github.com/ioniz4tion/sample_app/tree/master
Here is the full reoprt :
$ git push heroku master
Fetching repository, done.
Counting objects: 13, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 697 bytes, done.
Total 8 (delta 6), reused 0 (delta 0)
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
###### WARNING:
Removing `Gemfile.lock` because it was generated on Windows.
Bundler will do a full resolve so native gems are handled properly.
This may result in unexpected gem versions being used in your app.
In rare occasions Bundler may not be able to resolve your dependencies at
all.
https://devcenter.heroku.com/articles/bundler-windows-gemfile
-----> Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle -
-binstubs vendor/bundle/bin -j4
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Using rake 10.3.2
Using i18n 0.6.11
Using json 1.8.1
Using minitest 5.4.0
Using thread_safe 0.3.4
Using builder 3.2.2
Using erubis 2.7.0
Using rack 1.5.2
Using mime-types 1.25.1
Using polyglot 0.3.5
Using arel 5.0.1.20140414130214
Using bundler 1.6.3
Using coffee-script-source 1.7.1
Using execjs 2.2.1
Using thor 0.19.1
Using hike 1.2.3
Using multi_json 1.10.1
Using pg 0.17.1
Using tilt 1.4.1
Using rails_serve_static_assets 0.0.2
Using rails_stdout_logging 0.0.3
Using sass 3.2.19
Using rdoc 4.1.1
Using tzinfo 1.2.2
Using treetop 1.4.15
Using rack-test 0.6.2
Using coffee-script 2.3.0
Using uglifier 2.5.3
Using sprockets 2.11.0
Using rails_12factor 0.0.2
Using sdoc 0.4.1
Using activesupport 4.1.5
Using mail 2.5.4
Using actionview 4.1.5
Using activemodel 4.1.5
Using jbuilder 2.1.3
Using actionpack 4.1.5
Using activerecord 4.1.5
Using actionmailer 4.1.5
Using railties 4.1.5
Using sprockets-rails 2.1.3
Using coffee-rails 4.0.1
Using jquery-rails 3.1.1
Using sass-rails 4.0.3
Using turbolinks 2.3.0
Using rails 4.1.5
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Bundle completed (4.71s)
Cleaning up the bundler cache.
Removing rspec-expectations (3.0.4)
Removing rspec-rails (3.0.2)
Removing rspec-mocks (3.0.4)
Removing diff-lcs (1.2.5)
Removing rspec-support (3.0.4)
Removing rspec-core (3.0.4)
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
NoMethodError: undefined method `group' for #<SampleApp::Application:0x007f530db1e7e0>
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/config/environments/production.rb:46:in `block in <top (required)>'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/railtie.rb:210:in `instance_eval'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/railtie.rb:210:in `configure'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/config/environments/production.rb:1:in `<top (required)>'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `block in require'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:232:in `load_dependency'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/engine.rb:594:in `block (2 levels) in <class:Engine>'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/engine.rb:593:in `each'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/engine.rb:593:in `block in <class:Engine>'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/initializable.rb:30:in `run'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/initializable.rb:44:in `each'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/initializable.rb:44:in `tsort_each_child'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/application.rb:300:in `initialize!'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/config/environment.rb:5:in `<top (required)>'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `block in require'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:232:in `load_dependency'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/application.rb:276:in `require_environment!'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/application.rb:379:in `block in run_tasks_blocks'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.1.3/lib/sprockets/rails/task.rb:55:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
To git#heroku.com:pure-sea-9201.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:pure-sea-9201.git'
The error is in your production.rb
group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor', '0.0.2'
end
ruby '2.0.0'
This stuff belongs in the Gemfile, not production.rb

Resources