fixed gem setup for debian 7.0