summaryrefslogtreecommitdiff
path: root/pkgs/development/ruby-modules/bundler-env
AgeCommit message (Collapse)Author
2026-02-06bundlerEnv: add support for pname and versionjopejoe1
2025-07-24treewide: run nixfmt 1.0.0Wolfgang Walther
2024-12-10treewide: format all inactive Nix filesSilvan Mosberger
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \ --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7 result/bin/apply-formatting $NIXPKGS_PATH
2024-05-28ruby-modules: improve cross-compilation supportIvan Trubach
2021-03-10bundlerEnv: Allow overriding bundlerJonathan del Strother
Prior to this it doesn't seem to be possible to customize the version of bundler used in a bundlerEnv app. This change allows something like the following: ```nix let bundler = pkgs.buildRubyGem rec { gemName="bundler"; name="bundler-2.2.11"; version="2.2.11"; source.sha256="1izx6wsjdm6mnbxazgz1z5qbhwrrisbq0np2nmx4ij6lrqjy18jf"; }; in pkgs.bundlerEnv.override { inherit bundler; } { name="test"; gemdir=./.; } ``` to use bundler 2.2.11 rather than the 2.1.5 default.
2020-03-03bundlerEnv: Add option to copy gem files instead of symlinkingtalyz
The way ruby loads gems and keeps track of their paths seems to not always work very well when the gems are accessed through symlinks. Ruby will then complain that the same files are loaded multiple times; it relies on the file's full path to determine whether the file is loaded or not. This adds an option to simply copy all gem files into the environment instead, which gets rid of this issue, but may instead result in major file duplication.
2019-08-26treewide: remove redundant quotesvolth
2019-07-22bundlerUpdateScript: init and use (#64822)Nick Novitski
2019-06-16treewide: remove unused variables (#63177)volth
* treewide: remove unused variables * making ofborg happy
2018-07-20[bot] treewide: remove unused 'args@' in lambdasvolth
2018-01-04bundler-env: Remove unused argsAneesh Agrawal
2017-06-27Using pname and fetching versionsJudson
2017-06-25Fixing an overload of "pname"Judson
2017-06-09Made gemdir handling into a common functionJudson
2017-05-31Starting to add tool builder. Extracting bundler file computation.Judson
2017-05-27Cleaning out obsolete filesJudson
2017-05-27Restructuring filesJudson
2017-05-15Final testingJudson
2017-05-12Fixed platform test.Judson
2017-05-12Fixed platform filtering.Judson
2017-05-10Current round of tests pass, but filter function is failing to include when ↵Judson
platform match in use.
2017-05-09Current round of tests pass, but filter function is failing to include when ↵Judson
groups match in use.
2017-05-03Basically working. Checking against actual use cases.Judson
2017-05-01Test harnessesJudson
2017-04-24Starting decomposition of bundlerEnvJudson
2017-03-26Adding "allBins" flag on bundlerEnvJudson
The bin stubs need to be built where there's access to /nix/store - so it can't happen in a nix-shell run. Ergo, a shell.nix needs to be able to signal to the build that all bins need to be built.
2017-02-20Simplifying interface on gemset.nix slightly.Judson
`usesGemspec` no longer required to trigger the "copy everything into gemfile-and-lock" behavior. If the mainGem is referred to by path, that's sufficient.
2017-02-19Need to handle "null" mainGemsJudson
Not every gem package uses pname, nor should it.
2017-02-19Updates to bundlerEnvJudson
2016-10-08bundlerEnv: refactorzimbatm
Add `pname` attribute: if passed, the derivation name defaults to the gem name + version and only expose the gem's bin. Add `gemdir` attribute: gives a default lookup path for the Gemfile, Gemfile.lock and gemset.nix. Set the `meta.platforms' to `ruby.meta.platforms' by default.
2016-06-12Escape all shell arguments uniformlyzimbatm
2016-04-17bundlerEnv: filter gemset groupsMichael Fellinger
2016-04-13bundler-env: Gemfile.lock is frozenMichael Fellinger
2016-03-19move all ruby modules to development/ruby-moduleszimbatm