You can use the "specific_install" RubyGems plugin to install gems directly from GitHub.
# first install the plugin
gem install specific_install
# then install a gem directly from a repo URL
gem specific_install https://github.com/example/cool_ruby_gem