You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

8 lines
276 B

#!/usr/bin/env bash
set -e
DIR="$(dirname "$(readlink -e "${BASH_SOURCE[0]}")")"
RAILS_DIR="$(readlink -f "$DIR/..")"
ENGINE_DIR="$(readlink -f "$RAILS_DIR/../engine")"
eval "$("$ENGINE_DIR/bin/load-rbenv" "$1")"
shift
bundle exec sidekiq -r "$RAILS_DIR/config/sidekiq.rb" $*