scripts/rvm-install in rvm-0.1.23 vs scripts/rvm-install in rvm-0.1.24
- old
+ new
@@ -138,10 +138,10 @@
if [[ -d "$ruby" ]] ; then
mv "$ruby" "$rvm_rubies_path/"
new_path="$rvm_rubies_path/$(basename $ruby)"
for file in gem rake ; do
if [[ -s "$new_path/bin/$file" ]] ; then
- sed -i -e '1,1s=.*=#!'"$new_path/bin/ruby=" "$new_path/bin/$file"
+ sed -i.orig -e '1,1s=.*=#!'"$new_path/bin/ruby=" "$new_path/bin/$file"
rm -f "$new_path/bin/$file.orig"
chmod +x "$new_path/bin/$file"
fi
done
fi