Skip to content

Commit 9b25ee5

Browse files
Avoid problematic versions of state_machines
Due to an issue with state machines, we get a stack level too deep error when using newer versions of state machines.
1 parent 6b0a4ae commit 9b25ee5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ source 'https://rubygems.org'
44

55
gem 'rails', ENV['RAILS_VERSION'] || '~> 7.2.0'
66

7+
branch = ENV.fetch("SOLIDUS_BRANCH", "main")
8+
if branch <= "v4.5" || branch == "main"
9+
gem "state_machines", "<= 0.6"
10+
end
11+
712
group :development do
813
gem 'guard'
914
gem 'guard-shell'

0 commit comments

Comments
 (0)