Separate code for setting things up in fake gem root into its own function.