diff --git a/source/guides/gemfile.html.md b/source/guides/gemfile.html.md index 2ca4087340..6be04decae 100644 --- a/source/guides/gemfile.html.md +++ b/source/guides/gemfile.html.md @@ -165,3 +165,11 @@ ruby '1.9.3', :engine => 'jruby', :engine_version => '1.6.7' ~~~ Learn More: Ruby Directive + +In some cases, you may wish to split your gems across multiple files. To read the contents of one file from another, you can use `eval_gemfile`. + +~~~ruby +eval_gemfile 'another.gemfile' +~~~ + +This can be useful to run tests against multiple combinations of dependencies, or to load per-developer gems from an untracked gemfile.