Last Updated: February 25, 2016
·
1.501K
· lukaszkorecki

Create .rvmrc in all directories in your 'projects' dir

for f in $(ls -F | grep "\/$" | tr "\/" " ") ; echo "rvm ruby-1.9.3@$f --install --create" > $f/.rvmrc

1 Response
Add your response

ls -d */
:-)

over 1 year ago ·