Finally got gems to work.