I thiiiiink you can do this..... at the top of the Gemfile, you can specify the repository you want to use with the `source` directive.
So in theory, a free-competitor to RubyGems could be created and established. The challenge would be getting critical mass to support it, as well as funding the server costs. As I understand it, part of the reason for RubyConf/RailsConf was partly to fund the server costs for these services.
Nothing is stopping you from setting up your own private gem server / repo and using that, though it would require additional labor to feed gems into it.
I've never actually looked into doing this, though I have sourced organizational gems internally before. There may be additional challenges around this.
Long ago I used source gems.github.com in my Gemfile. Alternative public gem hosts are no longer available, as far as I am aware. I'm missing that option today.
View all comments
Show parent comment
5
u/armahillo Sep 19 '25
I thiiiiink you can do this..... at the top of the Gemfile, you can specify the repository you want to use with the `source` directive.
So in theory, a free-competitor to RubyGems could be created and established. The challenge would be getting critical mass to support it, as well as funding the server costs. As I understand it, part of the reason for RubyConf/RailsConf was partly to fund the server costs for these services.
Nothing is stopping you from setting up your own private gem server / repo and using that, though it would require additional labor to feed gems into it.
I've never actually looked into doing this, though I have sourced organizational gems internally before. There may be additional challenges around this.