You will need to set some environment variables for this to work. Have a look at env for some sample settings.