Error while trying to run app


#1

Guys, I keep running into this remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy…
remote:
remote: ! Push rejected to intense-spire-20284.
remote:
To https://git.heroku.com/intense-spire-20284.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ‘https://git.heroku.com/intense-spire-20284.git
every time I try and push heroku master. Any ideas?


#2

We need to see more of the error message please


#3

@greenmd29, check your assets pipeline. There maybe a syntax error in their causing it to not compile and that could push through to many other errors.


#4

Counting objects: 156, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (141/141), done.
Writing objects: 100% (156/156), 30.40 KiB | 216.00 KiB/s, done.
Total 156 (delta 31), reused 0 (delta 0)
remote: Compressing source files… done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.6.5
remote: -----> Installing dependencies using bundler 1.17.3
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java.
remote: Fetching gem metadata from https://rubygems.org/
remote: Fetching rake 13.0.1
remote: Installing rake 13.0.1
remote: Fetching concurrent-ruby 1.1.5
remote: Fetching thread_safe 0.3.6
remote: Fetching minitest 5.13.0
remote: Installing minitest 5.13.0
remote: Installing thread_safe 0.3.6
remote: Installing concurrent-ruby 1.1.5
remote: Fetching builder 3.2.3
remote: Installing builder 3.2.3
remote: Fetching erubi 1.9.0
remote: Fetching mini_portile2 2.4.0
remote: Installing erubi 1.9.0
remote: Installing mini_portile2 2.4.0
remote: Fetching crass 1.0.5
remote: Installing crass 1.0.5
remote: Fetching rack 2.0.7
remote: Installing rack 2.0.7
remote: Fetching nio4r 2.5.2
remote: Installing nio4r 2.5.2 with native extensions
remote: Fetching websocket-extensions 0.1.4
remote: Installing websocket-extensions 0.1.4
remote: Fetching mini_mime 1.0.2
remote: Installing mini_mime 1.0.2
remote: Fetching arel 9.0.0
remote: Installing arel 9.0.0
remote: Fetching mimemagic 0.3.3
remote: Installing mimemagic 0.3.3
remote: Fetching msgpack 1.3.1
remote: Installing msgpack 1.3.1 with native extensions
remote: Using bundler 1.17.3
remote: Fetching coffee-script-source 1.12.2
remote: Installing coffee-script-source 1.12.2
remote: Fetching execjs 2.7.0
remote: Installing execjs 2.7.0
remote: Fetching method_source 0.9.2
remote: Installing method_source 0.9.2
remote: Fetching thor 0.20.3
remote: Installing thor 0.20.3
remote: Fetching ffi 1.11.2
remote: Installing ffi 1.11.2 with native extensions
remote: Fetching pg 1.1.4
remote: Installing pg 1.1.4 with native extensions
remote: Fetching puma 3.12.1
remote: Installing puma 3.12.1 with native extensions
remote: Fetching rb-fsevent 0.10.3
remote: Installing rb-fsevent 0.10.3
remote: Fetching tilt 2.0.10
remote: Installing tilt 2.0.10
remote: Fetching turbolinks-source 5.2.0
remote: Installing turbolinks-source 5.2.0
remote: Fetching tzinfo 1.2.5
remote: Installing tzinfo 1.2.5
remote: Fetching nokogiri 1.10.5
remote: Installing nokogiri 1.10.5 with native extensions
remote: Fetching i18n 1.7.0
remote: Installing i18n 1.7.0
remote: Fetching websocket-driver 0.7.1
remote: Installing websocket-driver 0.7.1 with native extensions
remote: Fetching mail 2.7.1
remote: Installing mail 2.7.1
remote: Fetching rack-test 1.1.0
remote: Installing rack-test 1.1.0
remote: Fetching sprockets 3.7.2
remote: Installing sprockets 3.7.2
remote: Fetching marcel 0.3.3
remote: Installing marcel 0.3.3
remote: Fetching coffee-script 2.4.1
remote: Installing coffee-script 2.4.1
remote: Fetching uglifier 4.2.0
remote: Installing uglifier 4.2.0
remote: Fetching bootsnap 1.4.5
remote: Installing bootsnap 1.4.5 with native extensions
remote: Fetching rb-inotify 0.10.0
remote: Installing rb-inotify 0.10.0
remote: Fetching turbolinks 5.2.1
remote: Installing turbolinks 5.2.1
remote: Fetching activesupport 5.2.3
remote: Installing activesupport 5.2.3
remote: Fetching loofah 2.3.1
remote: Installing loofah 2.3.1
remote: Fetching sass-listen 4.0.0
remote: Fetching rails-dom-testing 2.0.3
remote: Installing sass-listen 4.0.0
remote: Installing rails-dom-testing 2.0.3
remote: Fetching globalid 0.4.2
remote: Installing globalid 0.4.2
remote: Fetching activemodel 5.2.3
remote: Installing activemodel 5.2.3
remote: Fetching jbuilder 2.9.1
remote: Installing jbuilder 2.9.1
remote: Fetching rails-html-sanitizer 1.3.0
remote: Installing rails-html-sanitizer 1.3.0
remote: Fetching sass 3.7.4
remote: Fetching activejob 5.2.3
remote: Installing activejob 5.2.3
remote: Installing sass 3.7.4
remote: Fetching activerecord 5.2.3
remote: Fetching actionview 5.2.3
remote: Installing actionview 5.2.3
remote: Installing activerecord 5.2.3
remote: Fetching actionpack 5.2.3
remote: Installing actionpack 5.2.3
remote: Fetching actioncable 5.2.3
remote: Fetching actionmailer 5.2.3
remote: Fetching activestorage 5.2.3
remote: Installing actionmailer 5.2.3
remote: Installing actioncable 5.2.3
remote: Installing activestorage 5.2.3
remote: Fetching railties 5.2.3
remote: Fetching sprockets-rails 3.2.1
remote: Installing railties 5.2.3
remote: Installing sprockets-rails 3.2.1
remote: Fetching coffee-rails 4.2.2
remote: Fetching rails 5.2.3
remote: Fetching sass-rails 5.1.0
remote: Installing coffee-rails 4.2.2
remote: Installing sass-rails 5.1.0
remote: Installing rails 5.2.3
remote: Bundle complete! 19 Gemfile dependencies, 60 gems now installed.
remote: Gems in the groups development and test were not installed.
remote: Bundled gems are installed into ./vendor/bundle
remote: Post-install message from i18n:
remote:
remote: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
remote: But that may break your application.
remote:
remote: Please check your Rails app for ‘config.i18n.fallbacks = true’.
remote: If you’re using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
remote: ‘config.i18n.fallbacks = [I18n.default_locale]’.
remote: If not, fallbacks will be broken in your app by I18n 1.1.x.
remote:
remote: For more info see:
remote: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
remote:
remote: Post-install message from sass:
remote:
remote: Ruby Sass has reached end-of-life and should no longer be used.
remote:
remote: * If you use Sass as a command-line tool, we recommend using Dart Sass, the new
remote: primary implementation: https://sass-lang.com/install
remote:
remote: * If you use Sass as a plug-in for a Ruby web framework, we recommend using the
remote: sassc gem: https://github.com/sass/sassc-ruby#readme
remote:
remote: * For more details, please refer to the Sass blog:
remote: https://sass-lang.com/blog/posts/7828841
remote:
remote: Bundle completed (44.26s)
remote: Cleaning up the bundler cache.
remote: The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java.
remote: -----> Installing node-v10.15.3-linux-x64
remote: -----> Detecting rake tasks
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: rake aborted!
remote: SyntaxError: /tmp/build_b5238294d7821c5df0935d452cb77e7a/config/environments/production.rb:30: syntax error, unexpected tXSTRING_BEG, expecting end
remote: … config.assets.compile = true config.assets.version have m…
remote: … ^
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/config/environments/production.rb:30: syntax error, unexpected tIDENTIFIER, expecting end-of-input
remote: …ue config.assets.version have moved to config/initializers…
remote: … ^~~~
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:inblock in require_with_bootsnap_lfi’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in register' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:inrequire_with_bootsnap_lfi’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in require' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:inblock in require’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in load_dependency' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:inrequire’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:602:in block (2 levels) in <class:Engine>' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:601:ineach’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:601:in block in <class:Engine>' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:ininstance_exec’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in run' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:inblock in run_initializers’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:50:in each' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:50:intsort_each_child’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:60:in run_initializers' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application.rb:361:ininitialize!’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/config/environment.rb:5:in <main>' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:inrequire’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in block in require_with_bootsnap_lfi' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:inregister’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in require_with_bootsnap_lfi' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:inrequire’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in block in require' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:inload_dependency’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in require' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application.rb:337:inrequire_environment!’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application.rb:520:in block in run_tasks_blocks' remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:62:inblock (2 levels) in define’
remote: /tmp/build_b5238294d7821c5df0935d452cb77e7a/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>’
remote: Tasks: TOP => environment
remote: (See full trace by running task with --trace)
remote:
remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy…
remote:
remote: ! Push rejected to intense-spire-20284.
remote:
To https://git.heroku.com/intense-spire-20284.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ‘https://git.heroku.com/intense-spire-20284.git
That’s everything


#5

The error seems to be generating from config/environments/production.rb:30 The 30 refers to line 30.

Can you go into the config directory, then the environments directory and then open production.rb and have a look at line 30. What do you see there?


#6

The line says
config.assets.compile = true config.assets.version have moved to config/initializers/assets.rb


#7

Can you show me a screenshot of it?


#8

I just copied it.
Rails.application.configure do

Settings specified here will take precedence over those in config/application.rb.

Code is not reloaded between requests.

config.cache_classes = true

Eager load code on boot. This eager loads most of Rails and

your application in memory, allowing both threaded web servers

and those relying on copy on write to perform better.

Rake tasks automatically ignore this option for performance.

config.eager_load = true

Full error reports are disabled and caching is turned on.

config.consider_all_requests_local = false
config.action_controller.perform_caching = true

Ensures that a master key has been made available in either ENV[“RAILS_MASTER_KEY”]

or in config/master.key. This key is used to decrypt credentials (and other encrypted files).

config.require_master_key = true

Disable serving static files from the /public folder by default since

Apache or NGINX already handles this.

config.public_file_server.enabled = ENV[‘RAILS_SERVE_STATIC_FILES’].present?

Compress JavaScripts and CSS.

config.assets.js_compressor = :uglifier

config.assets.css_compressor = :sass

Do not fallback to assets pipeline if a precompiled asset is missed.

config.assets.compile = false config.assets.version have moved to config/initializers/assets.rb

Enable serving of images, stylesheets, and JavaScripts from an asset server.

config.action_controller.asset_host = ‘http://assets.example.com

Specifies the header that your server uses for sending files.

config.action_dispatch.x_sendfile_header = ‘X-Sendfile’ # for Apache

config.action_dispatch.x_sendfile_header = ‘X-Accel-Redirect’ # for NGINX

Store uploaded files on the local file system (see config/storage.yml for options)

config.active_storage.service = :local

Mount Action Cable outside main process or domain

config.action_cable.mount_path = nil

config.action_cable.url = ‘wss://example.com/cable’

config.action_cable.allowed_request_origins = [ ‘http://example.com’, /http://example.*/ ]

Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.

config.force_ssl = true

Use the lowest log level to ensure availability of diagnostic information

when problems arise.

config.log_level = :debug

Prepend all log lines with the following tags.

config.log_tags = [ :request_id ]

Use a different cache store in production.

config.cache_store = :mem_cache_store

Use a real queuing backend for Active Job (and separate queues per environment)

config.active_job.queue_adapter = :resque

config.active_job.queue_name_prefix = “my_first_rails_app_#{Rails.env}”

config.action_mailer.perform_caching = false

Ignore bad email addresses and do not raise email delivery errors.

Set this to true and configure the email server for immediate delivery to raise delivery errors.

config.action_mailer.raise_delivery_errors = false

Enable locale fallbacks for I18n (makes lookups for any locale fall back to

the I18n.default_locale when a translation cannot be found).

config.i18n.fallbacks = [I18n.default_locale]’.

Send deprecation notices to registered listeners.

config.active_support.deprecation = :notify

Use default logging formatter so that PID and timestamp are not suppressed.

config.log_formatter = ::Logger::Formatter.new

Use a different logger for distributed setups.

require ‘syslog/logger’

config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new ‘app-name’)

if ENV[“RAILS_LOG_TO_STDOUT”].present?
logger = ActiveSupport::Logger.new(STDOUT)
logger.formatter = config.log_formatter
config.logger = ActiveSupport::TaggedLogging.new(logger)
end

Do not dump schema after migrations.

config.active_record.dump_schema_after_migration = false
end


#9

I’m pretty sure that config.assets.version have moved to config/initializers/assets.rb is supposed to be a comment.

Try adding a # just before that bit but after config.assets.compile = true then try adding to git and committing before pushing to heroku.


#10

I did what you said and this is what I received
Counting objects: 179, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (164/164), done.
Writing objects: 100% (179/179), 32.24 KiB | 227.00 KiB/s, done.
Total 179 (delta 46), reused 0 (delta 0)
remote: Compressing source files… done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.6.5
remote: -----> Installing dependencies using bundler 1.17.3
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java.
remote: Fetching gem metadata from https://rubygems.org/
remote: Fetching rake 13.0.1
remote: Installing rake 13.0.1
remote: Fetching concurrent-ruby 1.1.5
remote: Fetching thread_safe 0.3.6
remote: Fetching minitest 5.13.0
remote: Installing thread_safe 0.3.6
remote: Installing minitest 5.13.0
remote: Installing concurrent-ruby 1.1.5
remote: Fetching builder 3.2.3
remote: Fetching erubi 1.9.0
remote: Installing builder 3.2.3
remote: Installing erubi 1.9.0
remote: Fetching mini_portile2 2.4.0
remote: Installing mini_portile2 2.4.0
remote: Fetching crass 1.0.5
remote: Installing crass 1.0.5
remote: Fetching rack 2.0.7
remote: Fetching nio4r 2.5.2
remote: Installing rack 2.0.7
remote: Installing nio4r 2.5.2 with native extensions
remote: Fetching websocket-extensions 0.1.4
remote: Installing websocket-extensions 0.1.4
remote: Fetching mini_mime 1.0.2
remote: Installing mini_mime 1.0.2
remote: Fetching arel 9.0.0
remote: Installing arel 9.0.0
remote: Fetching mimemagic 0.3.3
remote: Fetching msgpack 1.3.1
remote: Installing msgpack 1.3.1 with native extensions
remote: Installing mimemagic 0.3.3
remote: Using bundler 1.17.3
remote: Fetching coffee-script-source 1.12.2
remote: Installing coffee-script-source 1.12.2
remote: Fetching execjs 2.7.0
remote: Installing execjs 2.7.0
remote: Fetching method_source 0.9.2
remote: Installing method_source 0.9.2
remote: Fetching thor 0.20.3
remote: Installing thor 0.20.3
remote: Fetching ffi 1.11.2
remote: Installing ffi 1.11.2 with native extensions
remote: Fetching pg 1.1.4
remote: Installing pg 1.1.4 with native extensions
remote: Fetching puma 3.12.1
remote: Installing puma 3.12.1 with native extensions
remote: Fetching rb-fsevent 0.10.3
remote: Installing rb-fsevent 0.10.3
remote: Fetching tilt 2.0.10
remote: Installing tilt 2.0.10
remote: Fetching turbolinks-source 5.2.0
remote: Installing turbolinks-source 5.2.0
remote: Fetching tzinfo 1.2.5
remote: Installing tzinfo 1.2.5
remote: Fetching nokogiri 1.10.5
remote: Installing nokogiri 1.10.5 with native extensions
remote: Fetching i18n 1.7.0
remote: Installing i18n 1.7.0
remote: Fetching websocket-driver 0.7.1
remote: Installing websocket-driver 0.7.1 with native extensions
remote: Fetching mail 2.7.1
remote: Installing mail 2.7.1
remote: Fetching rack-test 1.1.0
remote: Installing rack-test 1.1.0
remote: Fetching sprockets 3.7.2
remote: Installing sprockets 3.7.2
remote: Fetching marcel 0.3.3
remote: Installing marcel 0.3.3
remote: Fetching coffee-script 2.4.1
remote: Installing coffee-script 2.4.1
remote: Fetching uglifier 4.2.0
remote: Installing uglifier 4.2.0
remote: Fetching bootsnap 1.4.5
remote: Installing bootsnap 1.4.5 with native extensions
remote: Fetching rb-inotify 0.10.0
remote: Installing rb-inotify 0.10.0
remote: Fetching turbolinks 5.2.1
remote: Installing turbolinks 5.2.1
remote: Fetching activesupport 5.2.3
remote: Installing activesupport 5.2.3
remote: Fetching loofah 2.3.1
remote: Installing loofah 2.3.1
remote: Fetching sass-listen 4.0.0
remote: Installing sass-listen 4.0.0
remote: Fetching rails-html-sanitizer 1.3.0
remote: Installing rails-html-sanitizer 1.3.0
remote: Fetching rails-dom-testing 2.0.3
remote: Fetching globalid 0.4.2
remote: Installing rails-dom-testing 2.0.3
remote: Installing globalid 0.4.2
remote: Fetching activemodel 5.2.3
remote: Fetching jbuilder 2.9.1
remote: Installing jbuilder 2.9.1
remote: Installing activemodel 5.2.3
remote: Fetching sass 3.7.4
remote: Fetching activejob 5.2.3
remote: Installing activejob 5.2.3
remote: Installing sass 3.7.4
remote: Fetching actionview 5.2.3
remote: Fetching activerecord 5.2.3
remote: Installing actionview 5.2.3
remote: Installing activerecord 5.2.3
remote: Fetching actionpack 5.2.3
remote: Installing actionpack 5.2.3
remote: Fetching actionmailer 5.2.3
remote: Fetching actioncable 5.2.3
remote: Installing actioncable 5.2.3
remote: Installing actionmailer 5.2.3
remote: Fetching railties 5.2.3
remote: Fetching sprockets-rails 3.2.1
remote: Installing sprockets-rails 3.2.1
remote: Installing railties 5.2.3
remote: Fetching activestorage 5.2.3
remote: Installing activestorage 5.2.3
remote: Fetching coffee-rails 4.2.2
remote: Fetching sass-rails 5.1.0
remote: Fetching rails 5.2.3
remote: Installing coffee-rails 4.2.2
remote: Installing rails 5.2.3
remote: Installing sass-rails 5.1.0
remote: Bundle complete! 19 Gemfile dependencies, 60 gems now installed.
remote: Gems in the groups development and test were not installed.
remote: Bundled gems are installed into ./vendor/bundle
remote: Post-install message from i18n:
remote:
remote: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
remote: But that may break your application.
remote:
remote: Please check your Rails app for ‘config.i18n.fallbacks = true’.
remote: If you’re using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
remote: ‘config.i18n.fallbacks = [I18n.default_locale]’.
remote: If not, fallbacks will be broken in your app by I18n 1.1.x.
remote:
remote: For more info see:
remote: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
remote:
remote: Post-install message from sass:
remote:
remote: Ruby Sass has reached end-of-life and should no longer be used.
remote:
remote: * If you use Sass as a command-line tool, we recommend using Dart Sass, the new
remote: primary implementation: https://sass-lang.com/install
remote:
remote: * If you use Sass as a plug-in for a Ruby web framework, we recommend using the
remote: sassc gem: https://github.com/sass/sassc-ruby#readme
remote:
remote: * For more details, please refer to the Sass blog:
remote: https://sass-lang.com/blog/posts/7828841
remote:
remote: Bundle completed (44.32s)
remote: Cleaning up the bundler cache.
remote: The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java.
remote: -----> Installing node-v10.15.3-linux-x64
remote: -----> Detecting rake tasks
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: rake aborted!
remote: NoMethodError: undefined method config' for [:en]:Array remote: /tmp/build_b06578d11b8970e142df9c824db0552a/config/environments/production.rb:75:inblock in ’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/railtie.rb:216:in instance_eval' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/railtie.rb:216:inconfigure’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/config/environments/production.rb:1:in <main>' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:inrequire’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in block in require_with_bootsnap_lfi' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:inregister’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in require_with_bootsnap_lfi' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:inrequire’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in block in require' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:inload_dependency’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in require' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:602:inblock (2 levels) in class:Engine
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:601:in each' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:601:inblock in class:Engine
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in instance_exec' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:inrun’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:in block in run_initializers' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:50:ineach’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:50:in tsort_each_child' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:60:inrun_initializers’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application.rb:361:in initialize!' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/config/environment.rb:5:in
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:inblock in require_with_bootsnap_lfi’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in register' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:inrequire_with_bootsnap_lfi’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in require' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:inblock in require’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in load_dependency' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:inrequire’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application.rb:337:in require_environment!' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/application.rb:520:inblock in run_tasks_blocks’
remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:62:in block (2 levels) in define' remote: /tmp/build_b06578d11b8970e142df9c824db0552a/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27:in<top (required)>’
remote: Tasks: TOP => environment
remote: (See full trace by running task with --trace)
remote:
remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy…
remote:
remote: ! Push rejected to intense-spire-20284.
remote:
To https://git.heroku.com/intense-spire-20284.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ‘https://git.heroku.com/intense-spire-20284.git


#11

Can you show me what the file looks like now.