use rspec from GEM_HOME if needed

This commit is contained in:
Adithya 2024-03-10 12:27:14 +05:30
parent 452ebb9e56
commit 71f6f09dd1
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -2,10 +2,10 @@
buildInputs = with pkgs; [ buildInputs = with pkgs; [
ruby_3_2 ruby_3_2
postgresql_15 postgresql_15
rubyPackages_3_2.rspec-core
]; ];
shellHook = '' shellHook = ''
export BUNDLE_HOME="$PWD/.nix/bundle" export BUNDLE_HOME="$PWD/.nix/bundle"
export GEM_HOME="$PWD/.nix/gem" export GEM_HOME="$PWD/.nix/gem"
export PATH="GEM_HOME/bin:$PATH"
''; '';
} }