Skip to content
This repository
branch: master

Apr 19, 2014

  1. Mislav Marohnić

    Merge pull request #581 from LawnGnome/solaris-gawk

    Prefer gawk over awk if both are available.
    Fixes rbenv-help on Solaris 11.1
    authored April 19, 2014

Apr 18, 2014

  1. Adam Harvey

    Prefer gawk over awk if both are available.

    authored April 18, 2014

Mar 21, 2014

  1. Mislav Marohnić

    Merge pull request #567 from genezys/patch-1

    Remove carriage return characters in version file
    Fixes #566
    authored March 21, 2014
  2. Vincent Robert

    Add \r to IFS instead of removing it manually

    authored March 21, 2014
  3. Vincent Robert

    Move carriage return test to version-file-read

    authored March 21, 2014

Mar 20, 2014

  1. Vincent Robert

    Simplify bash expression

    authored March 20, 2014
  2. Vincent Robert

    Add test for carriage return in ruby-version file

    authored March 20, 2014
  3. Vincent Robert

    Remove carriage return characters in version file

    When created on Windows, .rbenv-version or .ruby-version files may have CR characters that will prevent rbenv from correctly parsing the Ruby version. Discard those characters when reading the file.
    authored March 20, 2014

Jan 02, 2014

  1. Mislav Marohnić

    Merge branch 'openbsd'

    Closes #524
    authored January 02, 2014
  2. Mislav Marohnić

    Fix detecting parent shell on OpenBSD and Cygwin

    It seems that "comm" header can't be relied on cross-platform, but that
    "ucomm" is more portable. I have no idea whether it's the right value to
    use here, but it seems to be doing the job.
    Also strip trailing whitespace because OpenBSD 5.4 `ps` output is padded
    with spaces for some reason.
    Fixes #489
    authored January 02, 2014
  3. Mislav Marohnić

    Fix detecting completions support on OpenBSD

    The non-extended regex pattern didn't work on OpenBSD so this switches
    grep to extended pattern mode that seems to work consistenty on all
    authored January 02, 2014
  4. Mislav Marohnić

    Fix emulating the scenario where system Ruby is missing on OpenBSD

    On other systems, we expected to find system Ruby in `/usr/bin`, but in
    OpenBSD 5.4 it will be found in `/usr/local/bin`.
    This replaces the limited USRBIN_ALT hack with a more generic
    `path_without` function that will ensure that the given executable is
    not present in the resulting PATH even if it's found in multiple
    system paths.
    authored January 02, 2014
  5. Mislav Marohnić

    Fix test suite running on OpenBSD

    The error was "bash: no such file or directory" and it was due to bash
    being located in `/usr/local/bin` on OpenBSD 5.4 instead of `/bin` like
    on other systems.
    Fixed by keeping `/usr/local/bin` in PATH during the test run.
    authored January 02, 2014

Jan 01, 2014

  1. Mislav Marohnić

    Merge pull request #521 from wmoxam/master

    Fix rbenv on OpenBSD
    Fixes #519
    authored January 01, 2014

Dec 31, 2013

  1. Wesley Moxam

    Fixes rbenv on OpenBSD and any other systems that don't support head -c

    authored December 31, 2013

Dec 25, 2013

  1. Mislav Marohnić

    Force TAP output from Bats on CI

    In Travis CI environment, Bats thinks it's outputting to an interactive
    terminal, so it switches to "pretty" format and ANSI escape codes which
    don't look well in the final output.
    authored December 25, 2013
  2. Jeffrey 'jf' Lim

    Fix test suite when no system Ruby exists

    Some tests assumed that the `ruby` executable will be found in system PATH.
    Fixes #512, closes #514
    authored December 25, 2013 mislav committed December 25, 2013

Dec 17, 2013

  1. Mislav Marohnić

    Merge pull request #491 from peterhoeg/master

    ignore cache directory used by ruby-build
    authored December 17, 2013

Dec 14, 2013

  1. Sam Stephenson

    Merge pull request #504 from jonathandean/master

    Remove Neckbeard reference in favor of Advanced
    authored December 14, 2013
  2. Jonathan Dean

    Change 'Advanced Configuration' reference to 'How rbenv hooks into yo…

    …ur shell'
    authored December 14, 2013

Dec 13, 2013

  1. Jonathan Dean

    Remove Neckbeard reference in favor of Advanced

    authored December 13, 2013

Dec 06, 2013

  1. Mislav Marohnić

    Improve `rbenv init` instructions for fish

    Fish user config file `~/.config/fish/` loads for every
    instance of fish shell, not just interactive ones. Since it's
    unnecessary and dangerous to eval `rbenv init -` output in
    non-interactive shells, wrap the invocation in a conditional that checks
    if the current shell is interactive.
    Fixes #501
    authored December 06, 2013

Nov 25, 2013

  1. Peter Hoeg

    ignore cache directory used by ruby-build

    authored November 25, 2013

Nov 03, 2013

  1. Mislav Marohnić

    Revert "rbenv exec: avoid mutating PATH"

    It was supposed to fix shelling out to Ruby but it in fact broke another
    kind of shelling out to Ruby: invoking the `ruby` binary directly with
    the `-S` flag.
    Fixes #480
    This reverts commit db143bb.
    authored November 03, 2013

Oct 31, 2013

  1. Mislav Marohnić

    Avoid invoking `hash -r` in fish

    It doesn't exist as a builtin, and it doesn't seem there is a way to
    detect support for a shell builtin that is portable. So, just detect
    fish and don't the rehash command at all.
    Fixes #478
    authored October 31, 2013

Oct 30, 2013

  1. Mislav Marohnić

    Merge pull request #372 from sstephenson/exec-next

    Change `exec` semantics to allow using rbenv from a ruby process
    authored October 29, 2013
  2. Mislav Marohnić

    Merge branch 'no-process-substitution'

    authored October 30, 2013
  3. Mislav Marohnić

    Simplify version-file-read to avoid process substitution

    Process substitution seems to be causing problems with some versions of
    bash on specific systems.
    Fixes #401
    authored October 30, 2013
  4. Mislav Marohnić

    Add more tests for version-file-read

    authored October 30, 2013

Oct 07, 2013

  1. Mislav Marohnić

    strip initial `-` from the name of shell process

    Avoids the case where shell detection would result in
    `basename "-bash"` invocation, triggering the error:
        basename: illegal option -- b
    fixes #462
    authored October 07, 2013
  2. Mislav Marohnić

    reliably detect parent shell in `rbenv init`

    `$SHELL` variable is a terrible way of detecting the current shell
    because it's not even supposed to reflect the current shell; it's meant
    for keeping the value of the default shell for programs to start.
    If an explicit `<shell>` argument wasn't passed to `rbenv init`, it
    tries to detect the shell by getting the name of its parent process. If
    this fails, it falls back on the value of `$SHELL` as before.
    Furthermore, `rbenv init` will set the RBENV_SHELL variable in the
    current shell to the value of the detected shell so that `sh-shell` and
    `sh-rehash` commands don't have to repeat the detection.
    authored September 28, 2013

Oct 03, 2013

  1. Gunes

    typo: remove "v" (version prefix)

    authored October 03, 2013 mislav committed October 03, 2013
  2. Mislav Marohnić

    better error message for `rbenv prefix system`

    Have `rbenv prefix` handle the case where system Ruby is not installed,
    i.e. `rbenv which ruby` doesn't find ruby in PATH.
    Fixes #362
    authored October 03, 2013
  3. Mislav Marohnić

    tweak installation instructions

    Provide an `rbenv install` example and explanation lower down, so that
    both folk that are following git install and Homebrew install will
    finish at the same section and learn how to use ruby-build.
    Also remove step 6 of manual install process: `rbenv rehash`. It's
    unnecessary at that point, even if they already did `rbenv install`
    (which rehashes automatically).
    Fixes #455, closes #456
    authored October 03, 2013
  4. Mislav Marohnić

    remove `rbenv install` example; clarify manual compile

    It can be confusing if people mistake the example as instructions to
    install ruby-build with.
    authored October 03, 2013
Something went wrong with that request. Please try again.