Bug fix + example setup for ruby client