Avoid errors when precompiling assets

Rspec is not loaded in production ENV.