#!/usr/bin/env bash set -e unset BUNDLE_PATH unset BUNDLE_BIN # Start cron in background cron # Start your Ruby process in foreground ruby /usr/src/app/smartmeter.rb