Create a gist now

Instantly share code, notes, and snippets.

Preloading dependencies
sleep 2
require File.expand_path 'slow'
100.times do
sleep rand * 0.01
print '.'
end
require File.expand_path 'slow'
3.times do
fork do
require File.expand_path 'test'
end
Process.wait
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment