How to use a gem in a private GitHub repo in your Rails application
27-Oct-2021 1885
Developers love to separate concerns - it's one of our main principles. One of the best ways to do this is to extract libraries, which are called gems in Ruby. Gems are normally released through RubyGems. However, this makes your lib available to the public, which can be problematic if the gem serves a meaningful purpose in your business logic.In order to avoid that, you can make your gem private. It requires a bit of tinkering, but this article should help you get everything set up without having to jump through hoops (because I jumped through them for you ðŸ˜).
How to use a gem in a private GitHub repo in your Rails application #ruby #rubydeveloper #rubyonrails #private #GitHub #Rails #application #application #gem #github https://rubyonrails.ba/link/how-to-use-a-gem-in-a-private-github-repo-in-your-rails-application