Skip to content

Commit

Permalink
Use Sprockets 3.7.2 on linux build servers
Browse files Browse the repository at this point in the history
There is a serious unfixed bug in sassc-ruby that causes
issues when used with Sprockets 4.
  • Loading branch information
tvdeyen committed Feb 24, 2020
1 parent d929225 commit c7e8b34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ gem 'mysql2', '~> 0.5.1' if ENV['DB'] == 'mysql'
gem 'pg', '~> 1.0' if ENV['DB'] == 'postgresql'

group :development, :test do
unless ENV['CI']
if ENV['CI']
gem 'sprockets', '< 4.0' # Sprockets 4 has serious issues with libsass on Linux machines
else
gem 'launchy'
gem 'annotate'
gem 'bumpy'
Expand Down
1 change: 0 additions & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
# towards the timing of the first feature spec.
start = Time.now
puts "Preloading assets."
Rails.application.assets.cache.clear
Rails.application.precompiled_assets
puts "Done in #{(Time.now - start).round(2)}s"
end
Expand Down

0 comments on commit c7e8b34

Please sign in to comment.