Do not handle the gem version using a file to avoid a crash on the device

Fixes #1