Some Ruby Twitter Scripts I find useful. Most of them use Grackle. Some of them use Redis.
Each of these scripts uses a Grackle::Client to talk to Twitter. If you want to control authentication or other settings for this client you can create a file called .twitter_client in the directory from which you run the scripts or in your user directory. This is a YAML file that include arguments that will be passed directly to the Grackle::Client constructor. Example file:
auth: type: :basic username: USERNAME password: PASSWORD ssl: true
For more options, see the Grackle::Client docs.
sudo gem install grackle
$ curl -O http://redis.googlecode.com/files/redis-1.02.tar.gz $ tar xzf redis-1.02.tar.gz $ cd redis-1.02 $ make $ ./redis-server
telnet 127.0.0.1 6379 type ‘SHUTDOWN’ and hit return