Ruby 1.9.2
Ruby Koans for exercises http://github.com/edgecase/ruby_koans
Ruby for Developers Text Editors only Ruby 1.9.2 only
h1. Basics 1 + 2
#!/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 |
#!/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 |
Ruby 1.9.2
Ruby Koans for exercises http://github.com/edgecase/ruby_koans
Ruby for Developers Text Editors only Ruby 1.9.2 only
h1. Basics 1 + 2