aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
Diffstat (limited to '%HOME%')
-rw-r--r--%HOME%/.profile12
1 files changed, 11 insertions, 1 deletions
diff --git a/%HOME%/.profile b/%HOME%/.profile
index ecc9570..c382ae2 100644
--- a/%HOME%/.profile
+++ b/%HOME%/.profile
@@ -45,7 +45,17 @@ ruby_setup() {
&& path_export "$bin_dir"
}
-ruby_setup
+# Deprecated in favour of using chruby/RVM/etc. for Ruby management.
+#ruby_setup
+
+chruby_setup() {
+ local install_prefix="$HOME/.local"
+ local share_dir="$install_prefix/share/chruby"
+ [ -r "$share_dir/chruby.sh" ] && . "$share_dir/chruby.sh"
+ [ -r "$share_dir/auto.sh" ] && . "$share_dir/auto.sh"
+}
+
+chruby_setup
# Python-specific stuff