From 71f6f09dd1b0d9a401ebe04f6dbc5715e094d9d7 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 10 Mar 2024 12:27:14 +0530 Subject: [PATCH] use rspec from GEM_HOME if needed --- shells/ruby.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shells/ruby.nix b/shells/ruby.nix index 017ac46..1cc8133 100644 --- a/shells/ruby.nix +++ b/shells/ruby.nix @@ -2,10 +2,10 @@ buildInputs = with pkgs; [ ruby_3_2 postgresql_15 - rubyPackages_3_2.rspec-core ]; shellHook = '' export BUNDLE_HOME="$PWD/.nix/bundle" export GEM_HOME="$PWD/.nix/gem" + export PATH="GEM_HOME/bin:$PATH" ''; }