move the setup of the rubygems post install hook into its own file - related to #2