Is there some easy way to detect it?
I want to skip some code in the envirmonment.rb file when the rake/rails migrations are running.