WIP: fleshed out environmentregistry, ruby interop working