The Debian postinst script attempts to call rvm user gemsets within
an su command for each user who has sudo rights. This doesn't work
when those users haven't already configured rvm because
/usr/share/rvm/scripts/rvm doesn't get sources so the rvm command
isn't available within the su command. Deal with this by loading the
rvm script ourselves before invoking rvm user gemsets.
The Debian postinst script attempts to call
rvm user gemsets
within an su command for each user who has sudo rights. This doesn't work when those users haven't already configured rvm because /usr/share/rvm/scripts/rvm doesn't get sources so the rvm command isn't available within the su command. Deal with this by loading the rvm script ourselves before invokingrvm user gemsets
.Fixes rvm/ubuntu_rvm#32