Fix script/server when bin/ is not in PATH

This fixes an issue, when the bin/ directory of diaspora is not in the PATH variable

closes #7281
This commit is contained in:
spixi 2017-01-08 17:43:06 +01:00 committed by Benjamin Neff
parent 5e58068a72
commit fa0bd14dfb
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
## Refactor ## Refactor
## Bug fixes ## Bug fixes
* Fix path to `bundle` in `script/server` [#7281](https://github.com/diaspora/diaspora/pull/7281)
## Features ## Features

View file

@ -87,7 +87,7 @@ if [ $? -eq 0 ]; then
fi fi
# Check if bundle is complete # Check if bundle is complete
if ! bundle check > /dev/null if ! bin/bundle check > /dev/null
then then
fatal "Your bundle is not up to date, run the command \"bundle install\"" fatal "Your bundle is not up to date, run the command \"bundle install\""
fi fi