fixing permissions
fixing sanity check for rails-env-variables