aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--%HOME%/.gemrc4
-rw-r--r--%HOME%/.profile6
2 files changed, 9 insertions, 1 deletions
diff --git a/%HOME%/.gemrc b/%HOME%/.gemrc
index bfece73..4c4c4f3 100644
--- a/%HOME%/.gemrc
+++ b/%HOME%/.gemrc
@@ -1 +1,3 @@
-gem: --no-document --user-install
+# --user-install is nice to have, but conflicts with rbenv/etc. (gems will be
+# installed to ~/.gem instead of ~/.rbenv/.../gem).
+gem: --no-document
diff --git a/%HOME%/.profile b/%HOME%/.profile
index 475b446..2595534 100644
--- a/%HOME%/.profile
+++ b/%HOME%/.profile
@@ -57,6 +57,12 @@ chruby_setup() {
chruby_setup
+rbenv_setup() {
+ command -v rbenv > /dev/null && eval "$( rbenv init - )"
+}
+
+rbenv_setup
+
# Python-specific stuff
# This is a half-assed way to automatically add your user's pip binary