All RubyGems repositories must be prefixed with api/gems in the path
When using the RubyGems command line to access a repository through Artifactory, the repository URL must be prefixed with api/gems
in the path.
All RubyGems commands, including gem source
and gem push
, must prepend the repository path with api/gems
.
For example, if you are using Artifactory standalone or as a local service, you would access your RubyGems repositories using the following URL:
http://localhost:8081/artifactory/api/gems/<repository key>
Or, if you are using Artifactory Cloud, the URL would be:
https://<server name>.jfrog.io/artifactory/api/gems/<repository key>
You can create the following repository types: