Skip to content

Commit

Permalink
Downgrade sprockets to 3.7.2
Browse files Browse the repository at this point in the history
This fixes a segmentation error in circle ci after upgrading to rails 6
this is when the docker file runs assets:precompile
sass/sassc-rails#122
The error can be found above
  • Loading branch information
Obsiye committed Feb 13, 2020
1 parent b8c2852 commit 43feeb7
Show file tree
Hide file tree
Showing 11 changed files with 104 additions and 1,495 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.0
references:
build_container_config: &build_container_config
docker:
- image: circleci/ruby:2.6.5-node-browsers
- image: circleci/ruby:2.6.3-node-browsers
environment:
GITHUB_TEAM_NAME_SLUG: laa-apply-for-legal-aid
- image: circleci/postgres:10.5
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.6.5-alpine3.10
FROM ruby:2.6.3-alpine3.10
MAINTAINER apply for legal aid team

ENV \
Expand Down
5 changes: 3 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.6.5'
ruby '2.6.3'

gem 'aasm', '~> 5.0.6'
gem 'active_model_serializers', '~> 0.10.10'
Expand Down Expand Up @@ -57,7 +57,8 @@ gem 'sidekiq-status'
gem 'sidekiq_alive'

# Transformer that converts ES6 code into vanilla ES5 using babel via asset pipeline
gem 'sprockets', '>= 3.0.0'
# Default to 3.7.2 as https://github.com/sass/sassc-rails/issues/122 sassc loading is causing a segmentation error
gem 'sprockets', '3.7.2'
gem 'sprockets-es6'

# URL and path parsing
Expand Down
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ GEM
numerizer (~> 0.1.1)
climate_control (0.2.0)
coderay (1.1.2)
concurrent-ruby (1.1.5)
concurrent-ruby (1.1.6)
connection_pool (2.2.2)
crack (0.4.3)
safe_yaml (~> 1.0.0)
Expand Down Expand Up @@ -330,7 +330,7 @@ GEM
nio4r (~> 2.0)
pundit (2.1.0)
activesupport (>= 3.0.0)
rack (2.1.2)
rack (2.2.2)
rack-pjax (1.1.0)
nokogiri (~> 1.5)
rack (>= 1.1)
Expand Down Expand Up @@ -484,7 +484,7 @@ GEM
spring-watcher-listen (2.0.1)
listen (>= 2.7, < 4.0)
spring (>= 1.2, < 3.0)
sprockets (4.0.0)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-es6 (0.9.2)
Expand Down Expand Up @@ -604,7 +604,7 @@ DEPENDENCIES
slack-notifier
spring
spring-watcher-listen (~> 2.0.0)
sprockets (>= 3.0.0)
sprockets (= 3.7.2)
sprockets-es6
timecop
tzinfo-data
Expand All @@ -616,7 +616,7 @@ DEPENDENCIES
wicked_pdf

RUBY VERSION
ruby 2.6.5p114
ruby 2.6.3p62

BUNDLED WITH
2.1.4

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 43feeb7

Please sign in to comment.