#!/bin/bash set -ex bundle install if [[ $1 == "final" ]]; then bundle exec rake compile fi