Skip to content

Commit 9ae9f75

Browse files
committed
Workaround for error in rspec-parameterized-table_syntax
``` This version of binding_of_caller doesn't support this version of Ruby An error occurred while loading ./spec/lib/chatwork/converter_spec.rb. Failure/Error: false | 0 NoMethodError: undefined method 'of_caller' for an instance of Binding ```
1 parent e421e06 commit 9ae9f75

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ source "https://rubygems.org"
33
# Specify your gem's dependencies in chatwork.gemspec
44
gemspec
55

6-
# eval_gemfile "#{__dir__}/gemfiles/common.gemfile"
6+
eval_gemfile "#{__dir__}/gemfiles/common.gemfile"

gemfiles/common.gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# FIXME: Workaround for Ruby 4.0+
2+
# ref. https://github.com/banister/binding_of_caller/pull/90
3+
gem "binding_of_caller", github: "kivikakk/binding_of_caller", branch: "push-yrnnzolypxun"

gemfiles/faraday_2.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ source "https://rubygems.org"
33
# Specify your gem's dependencies in chatwork.gemspec
44
gemspec path: "../"
55

6-
# eval_gemfile "#{__dir__}/common.gemfile"
6+
eval_gemfile "#{__dir__}/common.gemfile"
77

88
gem "faraday", "~> 2.0"

0 commit comments

Comments
 (0)