aboutsummaryrefslogtreecommitdiffstats
path: root/script/update-xapian-index
diff options
context:
space:
mode:
Diffstat (limited to 'script/update-xapian-index')
-rwxr-xr-xscript/update-xapian-index6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/update-xapian-index b/script/update-xapian-index
index 6ece02de0..d470176a9 100755
--- a/script/update-xapian-index
+++ b/script/update-xapian-index
@@ -1,5 +1,5 @@
#!/bin/bash
-
-cd `dirname $0`
-rake --silent xapian:update_index "$@"
+export BUNDLE_GEMFILE=$(dirname "$0")/../Gemfile
+cd "$(dirname "$0")"
+bundle exec rake --silent xapian:update_index "$@"