Skip to content

Commit

Permalink
remove target ruby dir to prevent problems with old stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Jan 8, 2013
1 parent bdb1b73 commit 9e30da5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/external
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ Only '${downloaded_names[*]}' were found instead."
return 4
fi

rm -rf "${rvm_rubies_path}/${rvm_ruby_string}"
mkdir -p "${rvm_rubies_path}/${rvm_ruby_string}"
__rvm_package extract "$rvm_archives_path/${rvm_ruby_package_file}" "${rvm_rubies_path}/${rvm_ruby_string}" || {
$err_command "Unpacking ${rvm_ruby_package_file} failed."
Expand Down

0 comments on commit 9e30da5

Please sign in to comment.