From 39ed9f3516fa96bd08fe196828be29b189d1ea15 Mon Sep 17 00:00:00 2001 From: Postmodern Date: Thu, 20 Dec 2012 15:15:29 -0800 Subject: [PATCH] Updated /etc/profile.d/ --- etc/profile.d/chgems.sh | 1 - etc/profile.d/chruby.sh | 11 ++++------- 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 120000 etc/profile.d/chgems.sh diff --git a/etc/profile.d/chgems.sh b/etc/profile.d/chgems.sh deleted file mode 120000 index 0a41af7..0000000 --- a/etc/profile.d/chgems.sh +++ /dev/null @@ -1 +0,0 @@ -/usr/local/etc/profile.d/chgems.sh \ No newline at end of file diff --git a/etc/profile.d/chruby.sh b/etc/profile.d/chruby.sh index 48ee535..3fe40a7 100644 --- a/etc/profile.d/chruby.sh +++ b/etc/profile.d/chruby.sh @@ -1,8 +1,5 @@ -. /usr/local/etc/profile.d/chruby.sh +#!/bin/sh -RUBIES=( - # /usr/local/ruby-1.8.7 - /usr/local/jruby-1.6.8 - /usr/local/jruby-1.7.0-rc1 - /usr/local/rubinius -) +source /usr/local/share/chruby/chruby.sh + +RUBIES=(/opt/rubies/*)