gem signin

Sign in to any gemcutter-compatible host. It defaults to https://rubygems.org

Options

NameDescription
--host <HOST>Use another gemcutter-compatible host (e.g. https://rubygems.org)
--otp <CODE>Digit code for multifactor authentication You can also use the environment variable GEM_HOST_OTP_CODE