How to use a gem in a private GitHub repo in your Rails application

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 #application #gem #github https://rubyonrails.ba/single/how-to-use-a-gem-in-a-private-github-repo-in-your-rails-application

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles