check if we're running in Bundler before clearing the env

add documentation to berks function