diff options
author | Léo Gaspard <leo@gaspard.io> | 2018-11-29 00:37:06 +0900 |
---|---|---|
committer | Léo Gaspard <leo@gaspard.io> | 2018-11-29 00:37:06 +0900 |
commit | 22d8291c171bb1dea3bba7d800b89cf8063035f0 (patch) | |
tree | 4f6b4e605000ed593abe1e0f397b61c7c8625c80 /doc | |
parent | 7fa8c41c4a7ecea1be0845a0dd32810791e4f6f0 (diff) | |
parent | 6bda83a64dfe6a1728c23724752c94b96de5a3e0 (diff) | |
download | nixpkgs-22d8291c171bb1dea3bba7d800b89cf8063035f0.tar nixpkgs-22d8291c171bb1dea3bba7d800b89cf8063035f0.tar.gz nixpkgs-22d8291c171bb1dea3bba7d800b89cf8063035f0.tar.bz2 nixpkgs-22d8291c171bb1dea3bba7d800b89cf8063035f0.tar.lz nixpkgs-22d8291c171bb1dea3bba7d800b89cf8063035f0.tar.xz nixpkgs-22d8291c171bb1dea3bba7d800b89cf8063035f0.tar.zst nixpkgs-22d8291c171bb1dea3bba7d800b89cf8063035f0.zip |
Merge branch 'pr-51111'
* pr-51111: doc: document upgrading Ruby packages
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/ruby.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/languages-frameworks/ruby.xml b/doc/languages-frameworks/ruby.xml index c52a72a3df4..df4e5acb22c 100644 --- a/doc/languages-frameworks/ruby.xml +++ b/doc/languages-frameworks/ruby.xml @@ -51,6 +51,17 @@ bundlerEnv rec { </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 alternative builder called <literal>bundlerApp</literal>. Set up the |