From 5b7a61c3bb3dddb40b96cfcdf8ff6891b1059a59 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Mon, 23 Jan 2023 00:53:57 -0800 Subject: [PATCH] Add sprockets to gemfile --- Gemfile | 1 + Gemfile.lock | 8 ++++++++ config/application.rb | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 66eeb1b..0b7ae76 100644 --- a/Gemfile +++ b/Gemfile @@ -5,6 +5,7 @@ gem 'bootsnap' gem 'pg' gem 'rack-cors' gem 'rails' +gem 'sprockets-rails' # A Ruby Web Server Built For Concurrency gem 'puma' diff --git a/Gemfile.lock b/Gemfile.lock index b9ea1dd..4b196af 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -286,6 +286,13 @@ GEM spring (4.1.1) spring-commands-rspec (1.0.4) spring (>= 0.9.1) + sprockets (4.0.2) + concurrent-ruby (~> 1.0) + rack (> 1, < 3) + sprockets-rails (3.2.2) + actionpack (>= 4.0) + activesupport (>= 4.0) + sprockets (>= 3.0.0) stringio (3.0.4) thor (1.2.1) tilt (2.0.11) @@ -341,6 +348,7 @@ DEPENDENCIES solargraph spring spring-commands-rspec + sprockets-rails will_paginate (~> 3.3) RUBY VERSION diff --git a/config/application.rb b/config/application.rb index 91ad666..b8b060c 100644 --- a/config/application.rb +++ b/config/application.rb @@ -10,7 +10,7 @@ require "action_controller/railtie" require "action_text/engine" require "action_view/railtie" require "action_cable/engine" -# require "sprockets/railtie" +require "sprockets/railtie" require "rails/test_unit/railtie" # Require the gems listed in Gemfile, including any gems