Debugging a forked process

Given a rake task like this:

begin
require ‘gem/rake/task’

Gem::Rake::Task.new(:doit) do |t|
t.fork = true
end

How would one go about tracing where the value of $LOAD_PATH is
set/changed in the forked interpreter?