Updating gem.s
Adding changes to match new Geminabox changes.