Commit graph

13 commits

Author SHA1 Message Date
Nicolas Cavigneaux 9dab0af11f Set RBENV_ROOT to "$HOME/.rbenv" if not already set (#6324)
This is the default behavior of rbenv and what users are expecting
most of the time.

It allows users to have their own set of rubies and gems. It also
prevents losing all rubies when rbenv is updated using Homebrew which
is not true when RBENV_ROOT is set to /usr/local/opt/rbenv.
2017-11-06 06:43:03 -08:00
Gabe Martin-Dempesy daedfcab51 reduce rbenv plugin load time by 150ms by removing additional brew call 2015-08-15 12:54:46 -07:00
Andrey Koleshko 80828cd0d3 Update plugins/rbenv/rbenv.plugin.zsh
Fix rbenv plugin for OS X latest homebrew
2014-05-28 11:19:47 +02:00
Nicolas Cavigneaux baf2ab1bf1 Don't set RBENV_ROOT to "$HOME/.rbenv" when using Homebrew rbenv
Hard setting RBENV_ROOT to "$HOME/.rbenv" when using Homebrew's rbenv
will breaks it. It has to be set to $(brew --prefix rbenv).
2014-03-17 10:05:56 +01:00
Wes Morgan 3ca3c5a126 don't clobber existing RBENV_ROOT & follow Homebrew's default behavior 2013-10-14 09:59:20 -06:00
Adam Stankiewicz 0ed1adeaad Use --no-rehash option for faster startup 2013-03-20 16:57:32 +01:00
Jesse B. Hannah dace87ae36 Fix rbenv gems helper
Fixes gem versions with words (beta, pre) in the version or with
multiple installed versions not being highlighted, and compatibility
with GNU sed (related to robbyrussell/oh-my-zsh#1579).
2013-02-08 19:11:40 -07:00
Robby Russell beadefcfb0 Merge pull request #1170 from dipth/master
Explicitly tell rbenv to use zsh
2012-07-03 06:25:53 -07:00
Tima Maslyuchenko 5931f64308 sanitized code according to coding style 2012-06-18 21:29:24 +03:00
Tima Maslyuchenko e9a9deacb0 rbenv plugin now uses 'brew --prefix rbenv' command to find rbenv folder 2012-06-18 20:15:57 +03:00
Thomas Dippel 823cc9180c Explicitly tell rbenv to use zsh
According to @graywh's comment on:
https://github.com/sstephenson/rbenv/issues/185
2012-06-16 12:41:44 +02:00
Peter Hoeg 31cddcd324 fix: rbenv: I need to find a proper way to test changes... 2011-10-20 15:27:49 +08:00
Peter Hoeg a5545bd31c add: rbenv plugin 2011-10-20 14:12:56 +08:00