restore sourcing functions/rubygems in manage