Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated ruby aliases and organization.

  • Loading branch information...
commit 09193a2e179fe14f69d6dded8610cf12e8a9d8ff 1 parent 40c7059
@ggamel authored
Showing with 3 additions and 19 deletions.
  1. 0  ruby/aliases.zsh
  2. +0 −17 ruby/rbenv.zsh
  3. +3 −2 ruby/ruby.zsh
View
0  ruby/aliases.zsh
No changes.
View
17 ruby/rbenv.zsh
@@ -1,17 +0,0 @@
-# rehash shims
-rbenv rehash 2>/dev/null
-
-# shell thing
-rbenv() {
- command="$1"
- if [ "$#" -gt 0 ]; then
- shift
- fi
-
- case "$command" in
- shell)
- eval `rbenv "sh-$command" "$@"`;;
- *)
- command rbenv "$command" "$@";;
- esac
-}
View
5 ruby/ruby.zsh
@@ -1,7 +1,8 @@
# Taken from https://github.com/adamyonk/dotfiles ;)
-# Load rbenv
-#eval "$(rbenv init -)"
+# Load rbenv & set the proper rbenv $PATH nonsense (this is important or everything fails)
+eval "$(rbenv init -)"
+PATH="$HOME/.rbenv/bin:$PATH"
# # Load chruby
# source /usr/local/share/chruby/chruby.sh
Please sign in to comment.
Something went wrong with that request. Please try again.