chruby
chruby copied to clipboard
Changes the current Ruby
I'm having some trouble with a VSCode extension that executes a ruby command: [htmlbeautifier](https://github.com/threedaymonk/htmlbeautifier) (via the [vscode-erb-beautify](https://github.com/aliariff/vscode-erb-beautify) extension). I have no trouble executing the `htmlbeautifier` command from my shell (having...
chruby reports exit status 0 under Bash, but still throws a Ruby exception when switching to mruby
## Description ruby-install sucessfully installs mruby-3.0.0 without errors. However, chruby reports a successful exit status under Bash, but still throws a Ruby exception when attempting to switch to mruby. Whatever...
This would've saved me a few minutes of wondering why `chruby` was "command not found" after compiling it on my system. 😄 I mean, my fault for not fully reading...
My $PATH without chruby.sh looks like: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin **With** chruby.sh in my .bash_profile, it looks like: /Users/jrochkind/.gem/ruby/2.4.2/bin:/opt/rubies/ruby-2.4.2/lib/ruby/gems/2.4.0/bin:/opt/rubies/ruby-2.4.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin That is, the ruby-specific directories -- including gem bins -- have been put at...
``
status: blocked by #471.
@zendeavor points out that it is confusing to users that `chruby_auto` is invoked before the command is executed and before the prompt is printed. If user's (ex: @jc00ke) include `$RUBY_ENGINE`...
This change implements the proposal in #227 and likely addresses #346 as well. All tests pass on OS X 10.10. It occurs to me that this is somewhat of a...
When populating `RUBIES`, filter out any rubies that do not contain a `bin/ruby` executable file.
## Description preexec_functions does not run early enough for chruby work soon enough for RPS1. Another way of fixing is calling `chruby_auto` on `~/.zshrc` but precmd_functions seems more appropriate. Maybe?...