diff --git a/Gemfile b/Gemfile index 857bc53a1..085b94020 100644 --- a/Gemfile +++ b/Gemfile @@ -103,4 +103,6 @@ end gem 'contracts', '< 0.16' if RUBY_VERSION < '1.9.0' +gem 'drb' if RUBY_VERSION >= '3.4' + eval File.read('Gemfile-custom') if File.exist?('Gemfile-custom') diff --git a/spec/integration/spec_file_load_errors_spec.rb b/spec/integration/spec_file_load_errors_spec.rb index af44fcd28..204d81032 100644 --- a/spec/integration/spec_file_load_errors_spec.rb +++ b/spec/integration/spec_file_load_errors_spec.rb @@ -204,7 +204,7 @@ def foo Failure/Error: __send__(method, file) EOS - if RUBY_VERSION.to_f > 3.2 + if RUBY_VERSION > '3.2.2' expect(formatted_output).to include unindent(<<-EOS) SyntaxError: --> ./tmp/aruba/broken_file.rb