Skip to content

A platform for community discussion. Free, open, simple.

DEV: add a note about sprockets being held back

Sam Saffron3e0454c97b10
diff --git a/Gemfile b/Gemfile
index 2f3dd97d6ad..4a684635f66 100644
--- a/Gemfile
+++ b/Gemfile
@@ -28,6 +28,10 @@ else
gem 'sprockets-rails'
end
+# TODO: At the moment Discourse does not work with Sprockets 4, we would need to correct internals
+# This is a desired upgrade we should get to.
+gem 'sprockets', '3.7.2'
+
# this will eventually be added to rails,
# allows us to precompile all our templates in the unicorn master
gem 'actionview_precompiler', require: false
diff --git a/Gemfile.lock b/Gemfile.lock
index 291524228b1..b466bd41b14 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -390,7 +390,7 @@ GEM
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
- sprockets (4.0.0)
+ sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
@@ -540,6 +540,7 @@ DEPENDENCIES
shoulda-matchers
sidekiq
simplecov
+ sprockets (= 3.7.2)
sprockets-rails
sshkey
stackprof