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
Written by Łukasz Korecki
Related protips
1 Response
ls -d */
:-)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#