Postmodern

Results 636 comments of Postmodern

Try running your examples without ohmyzsh loaded. It could be an alias it sets to hijack `irb`; also check `alias` output.

This appears to still happen, but only with zsh and within irb.

Decided to mention in 29af09c2642a7e8c4a894acaf84a3341c39623dd and 4f38caa621dc875533f345b3351ec80a52dd0a6e about when shims require constant regeneration, which is an annoying chore. I feel like rbenv could just optimize the shim regeneration or background...

Investigating adding additional hooks. Should we provide a way to load `chruby_auto` (or similarly named function) _without_ setting the `trap DEBUG` hook so that one can set their own `trap...

Would this be to fix `set -u` issues in just `scripts/setup.sh`, or throughout the project? chruby's code (as well as most bash scripts) makes frequent usage of unbound variables in...

I am guessing this is coming from `chruby_auto` when a `.ruby-version` file is encountered and `chruby_use` invokes the `bin/ruby`. I am curious when these gems were installed. What does `head...

and what is the output of `tree "$GEM_HOME/extensions"`? I'm curious why ruby is complaining the extensions were not built, despite the gems being in `~/.gem/ruby/2.7.1`.

Since [Gem.user_dir](https://github.com/rubygems/rubygems/blob/56cac7f11a95c05138bd46bd46ed386e9fe2b0d2/lib/rubygems/defaults.rb#L76-L80) is derived from `ruby_engine` and `RbConfig::CONFIG['ruby_version']`, we'd just need to add a `RUBY_API_VERSION`/`RUBY_ENGINE_VERSION` env variable to track the API version level. Then we could derive the string and...

@eregon Good call on pulling out the value of `Gem.user_dir`. The shell's `hash` function takes care of duplicate `PATH` entries. Also, you need to add `Gem.user_dir` to `GEM_PATH` in order...

Hmm I might push this back to post-1.0. Since chruby currently uses `~/.gem/$ruby_engine/X.Y.Z` as the `GEM_HOME`, there's a possibility that a `Gem.user_dir` may overlap with a previous `GEM_HOME`.