Skip to content

Commit

Permalink
Limit haml version to 5 when running CI for JRuby
Browse files Browse the repository at this point in the history
haml 6 has a C extension that is failing to causes CI to fail
on JRuby.
  • Loading branch information
jeremyevans committed Aug 18, 2023
1 parent 47707ea commit f4128e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .ci.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ gem 'builder'
gem 'creole'
gem 'erubi'
gem 'erubis'
gem 'haml', '>= 4'
gem 'liquid'
gem 'livescript'
gem 'markaby'
Expand Down Expand Up @@ -41,6 +40,12 @@ else
gem 'maruku'
end

if RUBY_ENGINE == 'jruby'
gem 'haml', '< 6'
else
gem 'haml', '>= 4'
end

if RUBY_VERSION >= '3.1'
gem 'sass-embedded'
elsif RUBY_ENGINE == 'jruby'
Expand Down

0 comments on commit f4128e5

Please sign in to comment.