update sprockets for the Annual Asset Pipeline Breaks Prod festival
This commit is contained in:
parent
085f3be400
commit
d6c981f8d3
2
Gemfile
2
Gemfile
|
@ -8,7 +8,7 @@ gem "mysql2"
|
|||
gem "scenic"
|
||||
gem "scenic-mysql_adapter"
|
||||
gem "activerecord-typedstore"
|
||||
gem "sprockets-rails", "2.3.3"
|
||||
gem "sprockets-rails", require: "sprockets/railtie"
|
||||
|
||||
# js
|
||||
gem "json"
|
||||
|
|
14
Gemfile.lock
14
Gemfile.lock
|
@ -291,13 +291,13 @@ GEM
|
|||
snaky_hash (2.0.1)
|
||||
hashie
|
||||
version_gem (~> 1.1, >= 1.1.1)
|
||||
sprockets (3.7.2)
|
||||
sprockets (4.2.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
rack (> 1, < 3)
|
||||
sprockets-rails (2.3.3)
|
||||
actionpack (>= 3.0)
|
||||
activesupport (>= 3.0)
|
||||
sprockets (>= 2.8, < 4.0)
|
||||
rack (>= 2.2.4, < 4)
|
||||
sprockets-rails (3.4.2)
|
||||
actionpack (>= 5.2)
|
||||
activesupport (>= 5.2)
|
||||
sprockets (>= 3.0.0)
|
||||
stackprof (0.2.25)
|
||||
standard (1.31.1)
|
||||
language_server-protocol (~> 3.17.0.2)
|
||||
|
@ -378,7 +378,7 @@ DEPENDENCIES
|
|||
scenic-mysql_adapter
|
||||
simplecov
|
||||
sitemap_generator
|
||||
sprockets-rails (= 2.3.3)
|
||||
sprockets-rails
|
||||
stackprof
|
||||
standard
|
||||
standard-performance
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
//= link_tree ../images
|
||||
//= link_tree ../javascripts .js
|
||||
//= link_directory ../stylesheets .css
|
||||
//= link_tree ../../../vendor/assets/javascripts .js
|
||||
//= link_tree ../../../vendor/assets/stylesheets .css
|
|
@ -14,7 +14,6 @@ require "action_mailer/railtie"
|
|||
# require "action_text/engine"
|
||||
require "action_view/railtie"
|
||||
# require "action_cable/engine"
|
||||
require "sprockets/railtie"
|
||||
require "rails/test_unit/railtie"
|
||||
|
||||
# Require the gems listed in Gemfile, including any gems
|
||||
|
|
|
@ -53,6 +53,11 @@ Rails.application.configure do
|
|||
config.logger = Logger.new("/srv/lobste.rs/log/production.log")
|
||||
config.log_level = :info
|
||||
|
||||
# I updated sprockets and every page raised 'The asset "application.css" is not present in the
|
||||
# asset pipeline.' And then I turned this on and everything was fine. The asset pipeline continues
|
||||
# to be a fiddly, unreliable mystery.
|
||||
config.assets.unknown_asset_fallback = true
|
||||
|
||||
# Prepend all log lines with the following tags.
|
||||
config.log_tags = [:request_id]
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.8 KiB |
Loading…
Reference in New Issue