Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop the support of ruby 2.2 #55

Merged
merged 3 commits into from
Aug 6, 2023
Merged

Drop the support of ruby 2.2 #55

merged 3 commits into from
Aug 6, 2023

Conversation

khiav223577
Copy link
Owner

@khiav223577 khiav223577 commented Aug 6, 2023

since we encounter segmentation fault and have no idea how to fix it.

deep_pluck still works on Ruby 2.2 for now. But we cannot guarantee it will still work in the future.

The error messages:

Installing Bundler
  /opt/hostedtoolcache/Ruby/2.2.10/x64/bin/gem install bundler -v 1.17.3
  /opt/hostedtoolcache/Ruby/2.2.10/x64/lib/ruby/2.2.0/rubygems/source.rb:192: [BUG] Segmentation fault at 0x00000000000010
  ruby 2.2.10p489 (2018-03-28 revision 63023) [x86_64-linux]

Other discussion can be found at ruby/setup-ruby#496

khiav reoy added 2 commits August 7, 2023 05:12
Since we encounter errors when install bundler for Ruby 2.2.

  Bundler 2 requires Ruby 2.3+, using Bundler 1 on Ruby <= 2.2
  /opt/hostedtoolcache/Ruby/2.2.10/x64/bin/gem install bundler -v ~> 1.0
  ERROR:  While executing gem ... (RuntimeError)
      Marshal.load reentered at marshal_load
  Took   0.33 seconds
Error: The process '/opt/hostedtoolcache/Ruby/2.2.10/x64/bin/gem' failed with exit code 1
since we encounter Segmentation fault and have no idea how to fix it

The error messages:

Installing Bundler
  /opt/hostedtoolcache/Ruby/2.2.10/x64/bin/gem install bundler -v 1.17.3
  /opt/hostedtoolcache/Ruby/2.2.10/x64/lib/ruby/2.2.0/rubygems/source.rb:192: [BUG] Segmentation fault at 0x00000000000010
  ruby 2.2.10p489 (2018-03-28 revision 63023) [x86_64-linux]
@khiav223577 khiav223577 merged commit f6539a0 into master Aug 6, 2023
46 checks passed
@khiav223577 khiav223577 deleted the fix/test_cases branch August 6, 2023 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant