Shell implemented by Ruby