Permalink
Browse files

Reset when system is set as default.

  • Loading branch information...
1 parent e197fee commit 9c5be6fbcada5a9328684da0cb91ea276dcded0e @wayneeseguin wayneeseguin committed Dec 1, 2010
Showing with 8 additions and 0 deletions.
  1. +8 −0 scripts/selector
View
@@ -401,6 +401,14 @@ __rvm_use()
if [[ $result -eq 1 ]] ; then "$rvm_ruby_home/bin/maglev" start ; fi
fi
fi
+ else
+
+ if [[ ${rvm_default_flag:-0} -eq 1 ]] ; then
+
+ __rvm_reset
+
+ fi
+
fi
rvm_hook="after_use" ; source "$rvm_path/scripts/hook"

0 comments on commit 9c5be6f

Please sign in to comment.