Pass system along as Rack env var instead of thread local
Don't assume Bundler is already required

Fixes "uninitialized constant Bundler"