Some solutions to problems using Ruby.