#!/bin/sh # script/update: Update application to run for its current checkout. set -e cd "$[dirname $0]/.." script/bootstrap echo "==> Updating db…" # run all database migrations to ensure everything is up to date. bin/rake db:migrate (CommandList children: [ (C {(set)} {(-e)}) (C {(cd)} { (DQ (CommandSubPart command_list: (CommandList children:[(C {(dirname)} {(DQ ($ VSub_Number "$0"))})]) left_token: spids: [16 22] ) (/..) ) } ) (C {(script/bootstrap)}) (C {(echo)} {(DQ ("==> Updating db\u2026"))}) (C {(bin/rake)} {(db) (Lit_Other ":") (migrate)}) ] )