I have installed gem on Ubuntu 10.10 32 bit with
apt-get install gem -y
But when I try to run
gem install something.gem
Installing this package allows you to use gem command on Debian 8:
gem
apt-get install rubygems-integration
To install a gem package you might also need:
apt-get install ruby ruby-dev