Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Put back in the cwd :)

  • Loading branch information...
commit a165118f367acf19eed059605cf79b38fa2b5b12 1 parent d7a860b
@wayneeseguin wayneeseguin authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  scripts/utility
View
3  scripts/utility
@@ -508,6 +508,8 @@ __rvm_initialize() {
# Update rubygems or binscripts based on CLI selection.
__rvm_update() {
(
+ builtin cd "$rvm_path"
+
if [[ ${rvm_head_flag:-0} -eq 1 || ${rvm_self_flag:-0} -eq 1 || "update" = "${rvm_action:-""}" || ${rvm_update_flag:-0} -eq 1 ]] ; then
__rvm_version
__rvm_update_rvm
@@ -529,6 +531,7 @@ __rvm_update_rvm() {
\mkdir -p "$rvm_src_path"
(
+ builtin cd "$rvm_src_path"
if [[ ${rvm_head_flag:-0} -eq 1 ]] ; then
if [[ -d "$rvm_src_path/rvm/.git" ]] ; then
builtin cd "$rvm_src_path/rvm/" && git pull origin master && ./scripts/install
Please sign in to comment.
Something went wrong with that request. Please try again.