Skip to content

Commit

Permalink
Use different versions of psych for different versions of rails
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcolvar committed Dec 19, 2022
1 parent 3c9535a commit 643725a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,11 @@ else
end

case ENV['RAILS_VERSION']
when /^6.0/
gem 'psych', '< 5'
when /^5.[12]/
gem 'psych', '< 5'
gem 'sass-rails', '~> 5.0'
when /^4.2/
gem 'responders', '~> 2.0'
gem 'sass-rails', '>= 5.0'
gem 'coffee-rails', '~> 4.1.0'
when /^4.[01]/
gem 'sass-rails', '< 5.0'
end
end
# END ENGINE_CART BLOCK
Expand Down

0 comments on commit 643725a

Please sign in to comment.