Common Rails environment setup