remove bad gems and replace assets:precompile for test