Skip to content

Instantly share code, notes, and snippets.

View neomindryan's full-sized avatar

Ryan Findley neomindryan

View GitHub Profile
#!/usr/bin/env ruby
filename = "esopnavigator_production.log"
urls = []
processing_method = {}
File.open filename do |f|
while l = f.gets
if l =~ /.* rails\[([0-9]+)\]: .* Processing .* \[([A-Z]+)\]/
processing_method[$1] = $2
end
@neomindryan
neomindryan / ci
Created November 22, 2010 23:35 — forked from sr/ci
#!/bin/sh
# When building the app from within Integrity, there are environment variables set that make it difficult to use the correct gems.
# This script resets those environment variables, and replaces them with our RVM values.
# This script started its life as a gift from #integrity on irc.freenode.net: http://gist.github.com/560855 (poster named sr)
# This script is specific to a single, complicated client, but it's useful as a reference.
# We're using 1.8.6-head for ci because ruby 1.8.6 has a known issue on Ubunto 64bit that causes date to work improperly