Handle multiple users for ruby_environment.