Make gemdir optional for bundlerApp
Like `bundlerEnv`, the `gemdir` parameter to `bundlerApp` can be omitted if all 3 of `gemfile`, `lockfile`, and `gemset` are provided.
This commit is contained in:
parent
2b377504e7
commit
8e9796cae2
@ -12,8 +12,9 @@
|
|||||||
{
|
{
|
||||||
# use the name of the name in question; its version will be picked up from the gemset
|
# use the name of the name in question; its version will be picked up from the gemset
|
||||||
pname
|
pname
|
||||||
# gemdir is the location of the Gemfile{,.lock} and gemset.nix; usually ./.
|
# Gemdir is the location of the Gemfile{,.lock} and gemset.nix; usually ./.
|
||||||
, gemdir
|
# This is required unless gemfile, lockfile, and gemset are all provided
|
||||||
|
, gemdir ? null
|
||||||
# Exes is the list of executables provided by the gems in the Gemfile
|
# Exes is the list of executables provided by the gems in the Gemfile
|
||||||
, exes ? []
|
, exes ? []
|
||||||
# Scripts are ruby programs depend on gems in the Gemfile (e.g. scripts/rails)
|
# Scripts are ruby programs depend on gems in the Gemfile (e.g. scripts/rails)
|
||||||
|
Loading…
Reference in New Issue
Block a user