Use dynamic rails environment.