class Sprockets::CachedEnvironment

def config=(config)

should bomb.
Cache is immutable, any methods that try to change the runtime config
def config=(config)
  raise RuntimeError, "can't modify immutable cached environment"
end