Add gems that have binaries installed in a project to the PATH in that project

This commit is contained in:
Charlotte Van Petegem 2020-02-23 15:40:45 +01:00
parent 53d7317351
commit ad1e8b30bc
4 changed files with 7 additions and 1 deletions

View file

@ -49,5 +49,7 @@ pkgs.mkShell {
listen_addresses = '''
unix_socket_directories = '$PGHOST'
HERE
export GEM_HOME="$PWD/vendor/rubygems"
export PATH="$GEM_HOME/bin:$PATH"
'';
}