Skip to content

Instantly share code, notes, and snippets.

Rails 3.0.pre (git)
Loaded suite DepotTest
Started
................F..F......EE................
Finished in 3.577538 seconds.
1) Failure:
test_21.2_Routing_Requests(DepotTest)
[/Users/carlhuda/Developer/Source/awdwr/checkdepot.rb:988
/Users/carlhuda/.rvm/gems/ruby/1.8.7/gems/gorp-0.9.0/lib/gorp/test.rb:48:in `instance_eval'
catch(:EXISTS) do
@jobs.each_index do |i|
if @jobs[i] and (@jobs[i][0] == key ||
@jobs[i][1] == key ||
@jobs[i][1].context.main.equal?(key))
@jobs[i] = nil
throw :EXISTS
end
end
IRB.fail NoSuchJob, key
@carlhuda
carlhuda / evil.css
Created November 25, 2009 11:19 — forked from nex3/evil.css
#foo {font-size: 10em}
#foo .bar {color: green}
#foo .bop {color: blue}
@carlhuda
carlhuda / evil.css
Created November 25, 2009 11:10 — forked from nex3/evil.css
#foo
.bar .baz
#bang {color: blue}
def irb_load(fn, priv = nil)
path = search_file_from_ruby_path(fn)
raise LoadError, "No such file to load -- #{fn}" unless path
load_file(path, priv)
end
def search_file_from_ruby_path(fn)
if /^#{Regexp.quote(File::Separator)}/ =~ fn
return fn if File.exist?(fn)