Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rbenv-prefix: do not silence rbenv-which for system version #1098

Merged
merged 1 commit into from
Aug 9, 2018

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Jul 13, 2018

This suppressed any output when using RBENV_DEBUG=1 and does not really
hurt to have in the unlikely case that it should fail; you would get
two error messages now:

rbenv: ruby: command not found
rbenv: system version not found in PATH

@mislav
Copy link
Member

mislav commented Aug 6, 2018

Thanks, but I think one error message is enough! This is a rare case anyway.

@mislav mislav closed this Aug 6, 2018
@blueyed
Copy link
Contributor Author

blueyed commented Aug 6, 2018

Thanks, but I think one error message is enough!

I think the main issue here is that it also silences all of RBENV_DEBUG (for the subprocess).

@mislav
Copy link
Member

mislav commented Aug 6, 2018

I think the main issue here is that it also silences all of RBENV_DEBUG (for the subprocess).

Ah I see. That's a fair point. I'm willing to accept a PR that doesn't break the test suite.

@mislav mislav reopened this Aug 6, 2018
This suppressed any output when using RBENV_DEBUG=1 and does not really
hurt to have in the unlikely case that it should fail; you would get
two error messages now:

rbenv: ruby: command not found
rbenv: system version not found in PATH
@blueyed
Copy link
Contributor Author

blueyed commented Aug 6, 2018

Thanks, tests should be passing now.

@mislav mislav merged commit 59785f6 into rbenv:master Aug 9, 2018
jasonkarns added a commit to nodenv/nodenv that referenced this pull request Nov 8, 2018
Includes: rbenv/rbenv#1098 rbenv/rbenv#1093 rbenv/rbenv#1083
rbenv/rbenv#1069 rbenv/rbenv#981 rbenv/rbenv#1013 rbenv/rbenv#968
rbenv/rbenv#959 rbenv/rbenv#982 rbenv/rbenv#1002 rbenv/rbenv#1003
rbenv/rbenv#1024 rbenv/rbenv#1034 rbenv/rbenv#1009 rbenv/rbenv#1011

Merge remote-tracking branch 'rbenv/master' into rbenv-update

* rbenv/master:
  rbenv-prefix: do not silence rbenv-which for system version
  rbenv-which: change PATH only for the "command -v" lookup
  make rbenv init more visible in the readme (#1092)
  Remove ableist language
  Link to rbenv-installer
  Update instructions for $PATH change in README
  Fix rbenv/rbenv#1065
  Add tests for shell integration
  Better error message for `rbenv shell`
  Fix some issues reported by shellcheck
  Quote directory name in variable assignment
  test/which.bats: do not export PATH
  Fixed `rbenv init -` output to work w/ no args and bash's `set -u`.
  Fix URL fragment target
  Fixed support of build env vars for dynamic bash extension configure script
  properly escapes commas in cflags
  rbenv 1.1.1
  Clarify Homebrew/git install guidance
  rbenv-version-file: ensure that the version file is a file
  Don't unset CDPATH
  Enforce absolute RBENV_DIR
  partly resolve #759
  Fix pyenv -> rbenv typo
  Fix fish subcommand completion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants