Remove unused ruby code