Added RUBY_BUILD_GEM_* environment variables to allow gem flags to be set. This avoids the chicken-and-egg problem if you want to use a local gem mirror.