1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

Merge pull request #25733 from WilliButz/master

nixpkgs manual: fix typo in ruby section
This commit is contained in:
Pascal Wittmann 2017-05-12 14:49:00 +02:00 committed by GitHub
commit 8f86f9a4eb

View file

@ -46,7 +46,7 @@ bundlerEnv rec {
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.
For example, to make a derivation <literal>my-script</literal> for a <filename>my-script.rb</filename> (which should be placed in <filename>bin</filename>) you should
run <command>bundix</command> as specified above and then use <literal>bundlerEnv</literal> lile this:</para>
run <command>bundix</command> as specified above and then use <literal>bundlerEnv</literal> like this:</para>
<programlisting>
<![CDATA[let env = bundlerEnv {