Skip to content

Commit 7421fb3

Browse files
committed
Pin aruba to >= 2.0 to prevent silent fallback to 0.14.x
Cucumber 11 (Ruby >= 3.2 only) is incompatible with aruba 2.x. Without a version constraint, bundler silently falls back to aruba 0.14.14, breaking all cucumber scenarios due to API incompatibilities.
1 parent 61f8591 commit 7421fb3

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source "https://rubygems.org"
55
group :development do
66
gem "nokogiri"
77
gem "cuprite"
8-
gem "aruba"
8+
gem "aruba", "~> 2.0"
99
gem "capybara"
1010
gem "rackup"
1111
gem "cucumber"

Gemfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ GEM
1717
ast (2.4.3)
1818
base64 (0.3.0)
1919
benchmark-ips (2.14.0)
20-
bigdecimal (4.1.0)
21-
bigdecimal (4.1.0-java)
20+
bigdecimal (4.1.1)
21+
bigdecimal (4.1.1-java)
2222
builder (3.3.0)
2323
capybara (3.40.0)
2424
addressable
@@ -54,7 +54,7 @@ GEM
5454
cucumber-messages (>= 31, < 33)
5555
cucumber-html-formatter (22.3.0)
5656
cucumber-messages (> 23, < 33)
57-
cucumber-messages (32.2.0)
57+
cucumber-messages (32.3.1)
5858
cucumber-tag-expressions (8.1.0)
5959
cuprite (0.17)
6060
capybara (~> 3.0)
@@ -159,7 +159,7 @@ PLATFORMS
159159
universal-java-11
160160

161161
DEPENDENCIES
162-
aruba
162+
aruba (~> 2.0)
163163
benchmark-ips
164164
capybara
165165
cucumber

0 commit comments

Comments
 (0)