Add Rails specific configuration if we're in the Rails environment.