update ratpack, add environment getter