#!/bin/sh # arg 1: the new package version # arg 2: the old package version post_upgrade() { if [ "$(vercmp $2 1.9.3_p125)" -lt 0 ]; then echo 'The default location of gem installs has changed to $HOME/.gem/ruby' echo 'If you want to install to the system wide location, you must either:' echo 'edit /etc/gemrc or run gem with the --no-user-install flag.' fi }