Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Heroku Deployment: NameError: uninitialized constant CarrierWave::Storage::Fog
rake deploy:staging
============================================================
>> Updating Repo Tag: staging
============================================================
Everything up-to-date
============================================================
>> Pushing refs/tags/staging to Heroku
============================================================
Fetching repository, done.
Counting objects: 90, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (61/61), done.
Writing objects: 100% (68/68), 11.87 KiB | 0 bytes/s, done.
Total 68 (delta 39), reused 0 (delta 0)
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.1
-----> 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 rake 10.3.2
Using i18n 0.6.9
Using minitest 5.3.4
Using builder 3.2.2
Using thread_safe 0.3.4
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 execjs 2.0.2
Using bcrypt 3.1.7
Using sass 3.2.19
Using bootstrap_form 2.1.1
Using timers 1.1.0
Using coffee-script-source 1.6.3
Using thor 0.19.1
Using connection_pool 2.0.0
Using excon 0.39.5
Using json 1.8.1
Using multipart-post 2.0.0
Using tilt 1.4.1
Using multi_json 1.10.1
Using hike 1.2.3
Using netrc 0.7.7
Using rendezvous 0.0.2
Using bundler 1.6.3
Using pg 0.17.0
Using rails_serve_static_assets 0.0.1
Using rails_stdout_logging 0.0.3
Using redis 3.1.0
Using uuidtools 2.1.5
Using tzinfo 1.2.1
Using rack-test 0.6.2
Using treetop 1.4.15
Using autoprefixer-rails 2.2.0.20140804
Using celluloid 0.15.2
Using bootstrap-sass 3.1.1.1
Using coffee-script 2.2.0
Using faraday 0.9.0
Using haml 4.0.5
Using uglifier 2.3.1
Using heroku-api 0.3.19
Using sprockets 2.11.0
Using rails_12factor 0.0.2
Using redis-namespace 1.5.1
Using activesupport 4.1.1
Using mail 2.5.4
Using paratrooper 2.4.1
Using sidekiq 3.2.5
Using actionview 4.1.1
Using activemodel 4.1.1
Using actionpack 4.1.1
Using activerecord 4.1.1
Using sentry-raven 0.10.1 from https://github.com/getsentry/raven-ruby.git (at master)
Using actionmailer 4.1.1
Using railties 4.1.1
Using sprockets-rails 2.1.3
Using coffee-rails 4.0.1
Using haml-rails 0.5.3
Using jquery-rails 3.0.4
Using rails 4.1.1
Using sass-rails 4.0.3
Installing subexec 0.2.3
Installing carrierwave 0.10.0
Installing mini_magick 3.8.1
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Bundle completed (8.94s)
Cleaning up the bundler cache.
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
NameError: uninitialized constant CarrierWave::Storage::Fog
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:73:in `eval'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:73:in `eval'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:73:in `storage'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/config/initializers/carrier_wave.rb:3:in `block in <top (required)>'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:118:in `configure'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave.rb:14:in `configure'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/config/initializers/carrier_wave.rb:1:in `<top (required)>'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/engine.rb:648:in `block in load_config_initializer'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:161:in `instrument'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/engine.rb:647:in `load_config_initializer'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/engine.rb:611:in `each'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/engine.rb:611:in `block in <class:Engine>'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/initializable.rb:30:in `run'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/initializable.rb:44:in `each'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/initializable.rb:44:in `tsort_each_child'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/application.rb:288:in `initialize!'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/railtie.rb:194:in `public_send'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/railtie.rb:194:in `method_missing'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/config/environment.rb:5:in `<top (required)>'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/application.rb:264:in `require_environment!'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.0/gems/railties-4.1.1/lib/rails/application.rb:367:in `block in run_tasks_blocks'
/tmp/build_1719bbe3-3f05-4d6a-a0f4-adfb5fb042d3/vendor/bundle/ruby/2.1.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:riceflix-staging.git
! [remote rejected] staging -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:riceflix-staging.git'
============================================================
>> Running database migrations
============================================================
I, [2014-09-26T04:02:31.932378 #2] INFO -- : ** [Raven] Raven 0.10.1 ready to catch errors
============================================================
>> Restarting application
============================================================
============================================================
>> Deactivating Maintenance Mode
============================================================
============================================================
>> Accessing riceflix-staging.herokuapp.com to warm up your application
============================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.