Finally working after a painful experience with gem compilation.