From 37f2279d46036b3a6559d31bb7e1de80f129567d Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Thu, 29 Aug 2024 12:17:29 +0900 Subject: [PATCH] bundle slightly old version of haml on old rubies recent haml requires 'cgi/escape' that was not implemented in Ruby < 2.3 --- Gemfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index d589b70..52b8226 100644 --- a/Gemfile +++ b/Gemfile @@ -2,6 +2,10 @@ source 'https://rubygems.org' gemspec +if RUBY_VERSION < '2.3' + gem 'haml', '6.1.3' +end + gem 'nokogiri', RUBY_VERSION < '2.1' ? '~> 1.6.0' : '>= 1.7' if RUBY_VERSION < '2.1'