Change language from java to ruby