Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I deploy 'private' gems that my apps can access but no one else can get?

Tags:

I have several apps which I want to share some common code. I'd like to gem the code and share/version it across the apps that way, although I don't want to publish it to a public gem server.

What are some options?

like image 736
Kevin Bedell Avatar asked Nov 22 '10 16:11

Kevin Bedell


2 Answers

This seems promising:

https://github.com/cwninja/geminabox/

Although I haven't used it myself, so I can't vouch for it. However, it was recommended in a thread I recently read on the official Rubygems Q&A site, where it was mentioned that the built-in rubygems hosting is not a recommended solution, and Geminabox was offered as a good alternative.

Note that it doesn't feature any authentication or security (except through obscurity, obviously), so depending on how sensitive those gems are you may want to add something in yourself (or even just whitelist by IP address).

like image 199
Riley Dutton Avatar answered Oct 25 '22 05:10

Riley Dutton


GemFury is what you're after, I think.

like image 28
nthj Avatar answered Oct 25 '22 06:10

nthj