Merge branch 'pr-51111'

* pr-51111:
  doc: document upgrading Ruby packages
This commit is contained in:
Léo Gaspard 2018-11-29 00:37:06 +09:00
commit 22d8291c17
No known key found for this signature in database
GPG key ID: 8A55848B6090F9CF

View file

@ -50,6 +50,17 @@ bundlerEnv rec {
future updates can be run easily.
</para>
<para>
Updating Ruby packages can then be done like this:
</para>
<screen>
<![CDATA[$ cd pkgs/servers/monitoring/sensu
$ nix-shell -p bundler --run 'bundle lock --update'
$ nix-shell -p bundix --run 'bundix'
]]>
</screen>
<para>
For tools written in Ruby - i.e. where the desire is to install a package and
then execute e.g. <command>rake</command> at the command line, there is an