removes ruby specfic code