diff --git a/docsite/rst/developing_modules.rst b/docsite/rst/developing_modules.rst
index 4635fe7a7f0..5f9037f61e1 100644
--- a/docsite/rst/developing_modules.rst
+++ b/docsite/rst/developing_modules.rst
@@ -61,6 +61,7 @@ Testing Modules
 There's a useful test script in the source checkout for ansible::
 
     git clone git@github.com:ansible/ansible.git
+    source ansible/hacking/env-setup
     chmod +x ansible/hacking/test-module
 
 Let's run the script you just wrote with that::