diff options
author | Judson <nyarly@gmail.com> | 2017-07-05 09:12:03 -0700 |
---|---|---|
committer | Judson <nyarly@gmail.com> | 2017-07-05 09:12:03 -0700 |
commit | 5142e8f2b2057ec02c59f4406019d41bebaff59f (patch) | |
tree | e4b7b01d2c470ea83b954571f909f12fe92e2471 /doc | |
parent | 728bb987ec4c3bcf7e43cb7b98db229ec52b93ed (diff) | |
download | nixpkgs-5142e8f2b2057ec02c59f4406019d41bebaff59f.tar nixpkgs-5142e8f2b2057ec02c59f4406019d41bebaff59f.tar.gz nixpkgs-5142e8f2b2057ec02c59f4406019d41bebaff59f.tar.bz2 nixpkgs-5142e8f2b2057ec02c59f4406019d41bebaff59f.tar.lz nixpkgs-5142e8f2b2057ec02c59f4406019d41bebaff59f.tar.xz nixpkgs-5142e8f2b2057ec02c59f4406019d41bebaff59f.tar.zst nixpkgs-5142e8f2b2057ec02c59f4406019d41bebaff59f.zip |
Grammar, spelling fixed.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/ruby.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/languages-frameworks/ruby.xml b/doc/languages-frameworks/ruby.xml index 6a14854b5c5..eb1696ad224 100644 --- a/doc/languages-frameworks/ruby.xml +++ b/doc/languages-frameworks/ruby.xml @@ -61,9 +61,9 @@ bundlerApp { }; }]]> -<para>The chief advantage of <literal>bundlerApp</literal> over <literal>bundlerEnv</literal> is the the executables introduced in the environment are precisely those selected in the <literal>exes</literal> list, as opposed to <literal>bundlerEnv</literal> which adds all the executables made available by gems in the gemset, which can mean e.g. <command>rspec</command> or <command>rake</command> in unpredicable versions available from various packages. +<para>The chief advantage of <literal>bundlerApp</literal> over <literal>bundlerEnv</literal> is the executables introduced in the environment are precisely those selected in the <literal>exes</literal> list, as opposed to <literal>bundlerEnv</literal> which adds all the executables made available by gems in the gemset, which can mean e.g. <command>rspec</command> or <command>rake</command> in unpredictable versions available from various packages. -<para>Resulting derivations for both builders also have two helpful items, <literal>env</literal> and <literal>wrapper</literal>. The first one allows one to quickly drop into +<para>Resulting derivations for both builders also have two helpful attributes, <literal>env</literal> and <literal>wrapper</literal>. The first one allows one to quickly drop into <command>nix-shell</command> with the specified environment present. E.g. <command>nix-shell -A sensu.env</command> would give you an environment with Ruby preset so it has all the libraries necessary for <literal>sensu</literal> in its paths. The second one can be used to make derivations from custom Ruby scripts which have <filename>Gemfile</filename>s with their dependencies specified. It is a derivation with <command>ruby</command> wrapped so it can find all the needed dependencies. |