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

@ -50,5 +50,7 @@ pkgs.mkShell {
];
shellHook = ''
export DATABASE_URL="mysql2://root:dodona@127.0.0.1:3306/dodona"
export GEM_HOME="$PWD/vendor/rubygems"
export PATH="$GEM_HOME/bin:$PATH"
'';
}