Host gems in GitLab

I’ve created a few custom Rails gems for my employer but now I need to find somewhere to host the gems. Is it possible to host Rails gems on a local GitLab CE server and reference them similarly to ones hosted on GitHub.

GitHub Example:
gem “devise_ldap_authenticatable”, :git => “git://”

GitLab Example?
gem “my_employer_gem”, :git => “git://”

You can certainly do that.

However, you can’t use the git:// URL, which uses the “Git Protocol” on port 9418, since GitLab doesn’t support it.

Instead, use :git => "" to get the Gem using Git+SSH or :git => "" to get it using Git+HTTPS.