Only do the precompiling if it's a rails application