use more env helpers
chruby 0.3.6

Closes #20729.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>