Using Developer Specific Gems on Local Machine
Sometimes developer has different preferences for Gems to be used in Development Enviorment
. Some developer may want to user thin
as server, some body else may use default webbrick
.
We also dont want to do a check everytime if we are committing the Gemfile with our Gems, or it is a Universal Gemset, which every one is using.
Simplest solution is create a new file named Gemfile_Custom
. Add this to you main Gemfile as :
<div class='bogus-wrapper'><notextile><figure class='code'><figcaption><span>Gemfile </span></figcaption>
1 2 3 4 5 6 7 8 9 10 11 |
|
Last 3 lines are most important. They include the Gems
from Gemfile_Custom
to your main Gemfile. Now add whichever Gems you want to use to Gemfile_Custom
.
<div class='bogus-wrapper'><notextile><figure class='code'><figcaption><span>Gemfile_Custom </span></figcaption>
1 2 3 4 5 6 7 |
|