fix precompile error in rails 4