resolve RAILS_ENV=production precompile issues