Skip to content

Commit

Permalink
bundle slightly old version of haml on old rubies
Browse files Browse the repository at this point in the history
recent haml requires 'cgi/escape' that was not implemented in Ruby < 2.3
  • Loading branch information
amatsuda committed Aug 29, 2024
1 parent 77c6dcc commit 37f2279
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 37f2279

Please sign in to comment.