A ruby gem to send xmpp messages with a gtalk account
sudo gem install gtalk
vim ~/.bashrc
export GTALK_LOGIN="me"
export GTALK_PASSWORD="pwd" #the following are optional
export GTALK_ME="me@gmail.com" #for gtalk and gtalk_me
export GTALK_US="me@gmail.com,him@gmail.com" #for gtalk_us
export GTALK_HEADER="["`hostname`"] " #to prepend to any msg e.g the machine name
exec bash
pry
require 'gtalk'
# notify yourself cf. ENV['GTALK_ME']
gtalk_me "test" or gtalk "another test"
# notify your team cf. ENV['GTALK_US']
gtalk_us "test"
# notify someone
gtalk_to "x@gmail.com", "test"