develop
#!/bin/bash TOP_DIR="$(dirname "$BASH_SOURCE")/.." cd "$TOP_DIR" if [ "$1" == "--loop" ] then bundle exec rails runner 'NotificationMailer.send_notifications_loop' else bundle exec rails runner 'NotificationMailer.send_notifications' fi