Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
do not create .rvmrc in random points of execution, fix #523
  • Loading branch information
mpapis committed Oct 28, 2011
1 parent 95f1f32 commit 850a8b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/functions/environment
Expand Up @@ -62,7 +62,8 @@ __rvm_expand_ruby_string()

__rvm_become()
{
local string="$1"
# set rvm_rvmrc_flag=0 to not create .rvmrc in random places of code
local string="$1" rvm_rvmrc_flag=0

[[ -n "$string" ]] && rvm_ruby_string="$string"

Expand Down Expand Up @@ -310,4 +311,3 @@ __rvm_teardown()

return 0
}

0 comments on commit 850a8b5

Please sign in to comment.