mirror of
https://github.com/tildeverse/lobsters
synced 2024-06-24 17:27:04 +00:00
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"
|
||||||
gem "scenic-mysql_adapter"
|
gem "scenic-mysql_adapter"
|
||||||
gem "activerecord-typedstore"
|
gem "activerecord-typedstore"
|
||||||
gem "sprockets-rails", "2.3.3"
|
gem "sprockets-rails", require: "sprockets/railtie"
|
||||||
|
|
||||||
# js
|
# js
|
||||||
gem "json"
|
gem "json"
|
||||||
|
|
14
Gemfile.lock
14
Gemfile.lock
|
@ -291,13 +291,13 @@ GEM
|
||||||
snaky_hash (2.0.1)
|
snaky_hash (2.0.1)
|
||||||
hashie
|
hashie
|
||||||
version_gem (~> 1.1, >= 1.1.1)
|
version_gem (~> 1.1, >= 1.1.1)
|
||||||
sprockets (3.7.2)
|
sprockets (4.2.1)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
rack (> 1, < 3)
|
rack (>= 2.2.4, < 4)
|
||||||
sprockets-rails (2.3.3)
|
sprockets-rails (3.4.2)
|
||||||
actionpack (>= 3.0)
|
actionpack (>= 5.2)
|
||||||
activesupport (>= 3.0)
|
activesupport (>= 5.2)
|
||||||
sprockets (>= 2.8, < 4.0)
|
sprockets (>= 3.0.0)
|
||||||
stackprof (0.2.25)
|
stackprof (0.2.25)
|
||||||
standard (1.31.1)
|
standard (1.31.1)
|
||||||
language_server-protocol (~> 3.17.0.2)
|
language_server-protocol (~> 3.17.0.2)
|
||||||
|
@ -378,7 +378,7 @@ DEPENDENCIES
|
||||||
scenic-mysql_adapter
|
scenic-mysql_adapter
|
||||||
simplecov
|
simplecov
|
||||||
sitemap_generator
|
sitemap_generator
|
||||||
sprockets-rails (= 2.3.3)
|
sprockets-rails
|
||||||
stackprof
|
stackprof
|
||||||
standard
|
standard
|
||||||
standard-performance
|
standard-performance
|
||||||
|
|
5
app/assets/config/manifest.js
Normal file
5
app/assets/config/manifest.js
Normal file
|
@ -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_text/engine"
|
||||||
require "action_view/railtie"
|
require "action_view/railtie"
|
||||||
# require "action_cable/engine"
|
# require "action_cable/engine"
|
||||||
require "sprockets/railtie"
|
|
||||||
require "rails/test_unit/railtie"
|
require "rails/test_unit/railtie"
|
||||||
|
|
||||||
# Require the gems listed in Gemfile, including any gems
|
# 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.logger = Logger.new("/srv/lobste.rs/log/production.log")
|
||||||
config.log_level = :info
|
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.
|
# Prepend all log lines with the following tags.
|
||||||
config.log_tags = [:request_id]
|
config.log_tags = [:request_id]
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.8 KiB |
Loading…
Reference in New Issue
Block a user