Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env ruby
# -*- encoding : utf-8 -*-
# Copied code from mysociety/alaveteli, so LICENSE = https://github.com/mysociety/alaveteli/blob/develop/LICENSE.txt
# We want to avoid loading rails unless we need it, so we start by just loading the
# config file ourselves.
$alaveteli_dir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
$:.push(File.join($alaveteli_dir, "commonlib", "rblib"))
load 'config.rb'

Keybase proof

I hereby claim:

  • I am nigeljonez on github.
  • I am nigelij (https://keybase.io/nigelij) on keybase.
  • I have a public key ASDmSZGzLMDcUraaRX0rNhTeejYo3JGF7H6FaWDWZiUFQAo

To claim this, I am signing this object: