Skip to contentSkip to conversation

Gemfile: use a fixed version of sassc

PATCH In review Paolo Bonzini 2 participants 2 messages Sep 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Gemfile: use a fixed version of sassc

Jekyll failed to run with sassc 2.2.0 due to a LoadError, so the Gemfile was requiring an earlier version (2.1.0 in practice). Since the bug has been fixed, remove the workaround and instead require a fixed version.

---
 Gemfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Gemfile +1 -1
index b76a4fd..2117bba 100644
@@ -24,4 +24,4 @@ group :jekyll_plugins do
 end
 
 # for https://github.com/sass/sassc-ruby/issues/146
-gem "sassc", "< 2.2.0"
+gem "sassc", ">= 2.2.1"
Signature · 1 line
2.21.0
Tested-by on v1 1/1
#1 lore raw
Quoted 15 lines · Paolo Bonzini

Jekyll failed to run with sassc 2.2.0 due to a LoadError, so the Gemfile was requiring an earlier version (2.1.0 in practice). Since the bug has been fixed, remove the workaround and instead require a fixed version.

---
 Gemfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Gemfile +0 -0
index b76a4fd..2117bba 100644

Gemfile group :jekyll_plugins do · line 27

Quoted 5 lines
Gemfile +1 -1
@@ -24,4 +24,4 @@ group :jekyll_plugins do
 end
 
 # for https://github.com/sass/sassc-ruby/issues/146
-gem "sassc", "< 2.2.0"
+gem "sassc", ">= 2.2.1"

I think you could simply drop the two lines now, "bundle install" will pick up the newer version anyway.

Both ways work for me, so for any of the two solutions: