How To Fix POW Not Using Correct Gemset
Create New Hook
Place this file in ~/.rvm/hooks/afteruseupdate_powrc
for file in `ls ~/.pow/` ; do
POW_LINK_TARGET=`readlink ~/.pow/$file`
if [ `pwd` = $POW_LINK_TARGET ]; then
rvm env -- ``rvm current`` > .powenv
fi
done
Update Permissions
chmod +x ~/.rvm/hooks/after_use_update_powrc
Written by Jonathan Nelson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#