1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ruby-modules/bundled-common
Alyssa Ross 106d0920d9
bundlerEnv: fix for Ruby 2.7
Setting a Bundler version with GEM_PATH doesn't seem to work in Ruby
2.7, so we need to use the LOAD_PATH instead.  Without this,
bundlerEnv environments will always use the version of Bundler that
comes with Ruby, which won't necessarily work because it isn't the
version that was used to generate the bundle.

For example, building ronn with Ruby 2.7 without this change results
in a broken executable, but it works (when built with all packaged
Ruby versions) after this change.
2019-12-26 15:49:04 +00:00
..
default.nix
functions.nix bundlerEnv: fix for Ruby 2.7 2019-12-26 15:49:04 +00:00
gen-bin-stubs.rb bundlerEnv: fix for Ruby 2.7 2019-12-26 15:49:04 +00:00
test.nix