chruby icon indicating copy to clipboard operation
chruby copied to clipboard

Changes the current Ruby

Results 107 chruby issues
Sort by recently updated
recently updated
newest added

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...

## 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...

bug

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...

@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`...

enhancement
auto

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.

enhancement

## 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?...

bug