Properly load rubygems as long as config.rb is loaded