Merged
Conversation
This prevented IRB from starting up when native support is not available, since it attempts to reopen stdio streams using their numeric file descriptors.
We still just return a very high value when getrlimit is not available, but at least it is the right type now. This allows `bundle install` to succeed without native support.
Pulls in better pure-Java stat support from jnr-posix.
Member
Author
|
With the fixes here I am able to install gems including Rails, generate a Rails app, bundle install that app, boot the server and handle requests. There will be other fixes to be made but this is a good point to merge. |
This was referenced Dec 13, 2020
Member
Author
|
@enebo We should consider backporting these to the 9.2 line if we expect to do a 9.2.15.0 or higher, since they are small and may prevent issues like ruby/rubygems#4129 from affecting future 9.2 maintenance updates. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Several key commands no longer work with native support disabled. We would like to allow as much of Ruby to run as possible when running in pure-Java mode.
These are fixes to better support the pure-Java runtime mode.