#!/bin/bash export BUNDLE_GEMFILE=$(dirname "$0")/../Gemfile cd "$(dirname "$0")" bundle exec rake --silent xapian:update_index "$@"