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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

rbenv version shows symlinks acting like aliases #637

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 16, 2014

  1. Have rbenv version print info about symlinks acting like aliases

    Example:
    
        $ rbenv versions
          system
          1.8.7 -> 1.8.7-p375
          1.8.7-p375
          rbx -> rbx-2.2.10
          rbx-2.2.10
    mislav committed Oct 16, 2014
    Configuration menu
    Copy the full SHA
    23083ff View commit details
    Browse the repository at this point in the history
  2. Skip version aliases while rehashing

    Because a version alias points to another version in rbenv, its
    executables will get included in the rehash process anyway.
    
    I hoped that this results in rehash speedup because fewer directories
    get processed on a system with lots of aliases (I have 9), but the truth
    is I didn't witness any speedup. It's likely that the overhead of
    `rbenv-versions --skip-aliases` makes up for any performance gain that
    we could have had here.
    mislav committed Oct 16, 2014
    Configuration menu
    Copy the full SHA
    f133fda View commit details
    Browse the repository at this point in the history