You don't need to use gem
to install ruby-augeas
on Ubuntu, it's packaged, so just use:
sudo apt-get install libaugeas-ruby
If you want up-to-date versions of Augeas and ruby-augeas, you can use my PPA:
sudo apt-add-repository ppa:raphink/augeas
sudo apt-get update
sudo apt-get install libaugeas-ruby