From 09f866f58ce13ca95da7f2a05b8e331cbae0f51c Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Thu, 26 Dec 2024 23:59:25 +0900 Subject: [PATCH] Change how to set BUNDLE_PATH from .bundle/config to flake.nix (#257) --- .bundle/config | 2 -- flake.nix | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 .bundle/config diff --git a/.bundle/config b/.bundle/config deleted file mode 100644 index 2369228..0000000 --- a/.bundle/config +++ /dev/null @@ -1,2 +0,0 @@ ---- -BUNDLE_PATH: "vendor/bundle" diff --git a/flake.nix b/flake.nix index f920f9a..0c32fcf 100644 --- a/flake.nix +++ b/flake.nix @@ -55,6 +55,11 @@ typos ]) ++ [ selfup.packages.${system}.default ]; + + # - Don't use direnv for Nix CI + # - Don't use .bundle/config to avoid setup-ruby and `rake release` mismatch. + # See https://github.com/kachick/rspec-matchers-power_assert_matchers/issues/223 for detail + env.BUNDLE_PATH = "vendor/bundle"; }; } );