Ruby configuration update
This commit is contained in:
parent
64a95cb014
commit
875b55c0e0
3 changed files with 4 additions and 3 deletions
|
@ -25,7 +25,7 @@ pkgs.mkShell {
|
|||
];
|
||||
shellHook = ''
|
||||
export DATABASE_URL="postgres://postgres:accentor@127.0.0.1:5432/accentor"
|
||||
export GEM_HOME="$PWD/vendor/rubygems/$(ruby -e 'puts RUBY_VERSION')"
|
||||
export GEM_HOME="$PWD/vendor/bundle/$(ruby -e 'puts RUBY_VERSION')"
|
||||
export PATH="$GEM_HOME/bin:$PATH"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -26,8 +26,9 @@ pkgs.mkShell {
|
|||
)
|
||||
];
|
||||
shellHook = ''
|
||||
export TEST_DATABASE_URL="mysql2://root:dodona@127.0.0.1:3306/dodona_test"
|
||||
export DATABASE_URL="mysql2://root:dodona@127.0.0.1:3306/dodona"
|
||||
export GEM_HOME="$PWD/vendor/rubygems/$(ruby -e 'puts RUBY_VERSION')"
|
||||
export GEM_HOME="$PWD/vendor/bundle/$(ruby -e 'puts RUBY_VERSION')"
|
||||
export PATH="$GEM_HOME/bin:$PATH"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue