Shannon Skipper
Shannon Skipper
Did you also follow [configuration steps](https://github.com/postmodern/chruby#configuration) to source the script?
@esotericpig Yes, looks right to me. I think with the current matching, adding the line you propose is a good solution.
It seems there are two potential blockers for your proposal. First, neither POSIX nor these shells have preexec functions. POSIX doesn't specify a pre-function trap, which is needed for auto.sh...
A nice turn of events is that macOS and the BSDs are now supporting `-V, --version-sort`, like GNU. Relying on `--version-sort` would let us do something like the following. ```sh...
@jrochkind You can save the snippet above as `chruby_rubies.sh` and source it after `chruby.sh` to get the functionality now. A plus side of it being a function is you can...
Currently, chruby does use ~/.gem/$ruby/X.Y.Z instead of the ABI version. [This issue has some discussion](https://github.com/postmodern/chruby/issues/235) about how the RubyGems default is currently `--no-env-shebang`, so gem executable shebangs are hardcoded to...
I was able to reproduce this with OS X's latest system bash 3.2.53(1). It doesn't occur on OS X with bash 4.3.30 so seems to be a bash 3 issue.
As a workaround you can start Pry with `pry -c TOPLEVEL_BINDING` or add this snippet to your .pryrc: ```ruby Tempfile.new('pry-binding').tap do |binding_chord| binding_chord
I'd suggest we fix this by bumping the default gem for openssl to version 3 when Ruby 2.6-2.7 are installed on Ubuntu 22.04+. See https://bugs.ruby-lang.org/issues/18658
MacPorts and Homebrew also encounter this issue.