Remove bad ruby code