Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

RUBYLIB="$HOME/src/ruby/lib:$HOME/.ruby/lib"

  • Loading branch information...
commit 5fbd97bd58e27b3acfb7a1c6861094ec96c82a00 1 parent d7743dd
@tpope authored
View
2  .cshrc
@@ -18,7 +18,7 @@ setenv ENV "$HOME/.shrc"
setenv CLASSPATH '.'
if ( -d "$HOME/.java" ) setenv CLASSPATH "${CLASSPATH}:$HOME/.java"
if ( -d "$HOME/java" ) setenv CLASSPATH "${CLASSPATH}:$HOME/java"
-setenv RUBYLIB "$HOME/.ruby/lib:$HOME/.ruby"
+setenv RUBYLIB "$HOME/src/ruby/lib:$HOME/.ruby/lib"
setenv PERL5LIB "$HOME/.perl5:$HOME/perl5:$HOME/.perl:$HOME/perl"
setenv RSYNC_RSH 'ssh -axqoBatchMode=yes'
if ( { test -t 1 } ) setenv RSYNC_RSH 'ssh -ax'
View
2  .ruby/lib/tpope.rb
@@ -1,4 +1,4 @@
-$:.unshift(*%w(~/src/ruby/lib ~/.ruby ~/.ruby/lib).map {|d| File.expand_path d})
+$:.unshift(*%w(~/src/ruby/lib ~/.ruby/lib).map {|d| File.expand_path d})
$:.unshift('.') if $:.delete('.')
Gem.path.grep(/@global$/).each do |gemset|
View
13 .shrc
@@ -43,17 +43,8 @@ if [ -z "$CLASSPATH" ]; then
export CLASSPATH
fi
-if [ -z "$RUBYLIB" ]; then
- for dir in "$HOME/.ruby/lib" "$HOME/.ruby"; do
- case ":$RUBYLIB:" in
- *:"$dir":*) ;;
- *) [ ! -d "$dir" ] || RUBYLIB="$RUBYLIB:$dir"
- esac
- done
- RUBYLIB="`echo "$RUBYLIB"|sed -e s/^://`"
- export RUBYLIB
-fi
-export PATH RUBYLIB
+RUBYLIB="$HOME/src/ruby/lib:$HOME/.ruby/lib"
+export RUBYLIB
if [ -z "$PERL5LIB" ]; then
for dir in "$HOME/.perl5" "$HOME/perl5" "$HOME/.perl" "$HOME/perl"; do
View
8 .zshenv
@@ -27,12 +27,6 @@ esac
done
PERL5LIB="`echo "$PERL5LIB"|sed -e s/^://`"
-for dir in "$HOME/.ruby/lib" "$HOME/ruby/lib" "$HOME/.ruby"; do
- case ":$RUBYLIB:" in
- *:"$dir":*) ;;
- *) [ ! -d "$dir" ] || RUBYLIB="$RUBYLIB:$dir"
-esac
-done
-RUBYLIB="`echo "$RUBYLIB"|sed -e s/^://`"
+RUBYLIB="$HOME/src/ruby/lib:$HOME/.ruby/lib"
export ENV="$HOME/.shrc" CLASSPATH PERL5LIB PERL5OPT RUBYLIB
View
2  bin/installer
@@ -281,7 +281,7 @@ if [ "$cron" = 0 -o "$cron" = n ]; then
shell=/bin/sh
env=ENV
fi
- [ -n "$RUBYLIB" ] || RUBYLIB="$HOME/.ruby/lib:$HOME/ruby/lib:$HOME/.ruby"
+ [ -n "$RUBYLIB" ] || RUBYLIB="$HOME/src/ruby/lib:$HOME/.ruby/lib"
[ ! -f "$HOME/.ruby/lib/tpope.rb" ] || rubyopt="
RUBYOPT=rtpope"
cat >/tmp/crontab.template.$$ <<EOF
Please sign in to comment.
Something went wrong with that request. Please try again.