Rails environment setup, common for many domains