Skip to content

Instantly share code, notes, and snippets.

View ajh's full-sized avatar

Andy Hartford ajh

View GitHub Profile
@ajh
ajh / Locales.yml
Created February 13, 2014 14:26 — forked from s-andringa/Locales.yml
Handle rails exceptions better for apis
# config/locales/en.yml
en:
exception:
show:
not_found:
title: "Not Found"
description: "The page you were looking for does not exists."
internal_server_error:
title: "Internal Server Error"
#!/bin/sh -e
# upstart-job
#
# Symlink target for initscripts that have been converted to Upstart.
set -e
APP_PATH="/srv/rails/seek"
start_sunspot(){
echo "Starting Sunspot"