Step 1: Install MacPorts

Start by installing MacPorts if you don’t already have it on your machine. It’s an awesome must-have piece of software anyways! It’s super easy to install with the Leopard package.

Step 2: Install XCode 3.0

You must also have XCode 3.0 installed. It’s a huge download so you might want to install it from your Leopard DVD. It’s in /Optional Installs/Xcode Tools/XcodeTools.mpkg

Step 3: List your gems

Get a list of your installed gems and save it to a text file somewhere. You will need to reinstall them!

gem list > ~/Desktop/installed_gems.txt

Step 4: Clean up your Mac

In order to avoid conflicts with your original Ruby installation, I recommend you simply delete it. To do so, run these commands (I know… scary stuff!):

sudo rm -r /System/Library/Frameworks/Ruby.framework/
sudo rm -r /Library/Ruby
sudo rm /usr/bin/ruby
sudo rm /usr/bin/gem

 Step 5: Install Ruby and Rubygems with MacPorts

Now go ahead and install Rubygems through MacPorts. It will automatically install Ruby (and many other things) as it’s a dependency. The command is:

sudo port install rb-rubygems
sudo gem update --system

Step 6: Install Rails

At this point, you should have a brand new Ruby and Rubygems installation working! That wasn’t too hard was it? Now let’s install Rails.

sudo gem install rails

Step 7: Reinstall your gems

Now’s the time to reinstall your original gems. To reinstall the gems that shipped with Leopard, execute this command:

sudo gem install RedCloth acts_as_ferret mongrel fcgi capistrano ruby-openid ferret dnssd hpricot sqlite3-ruby libxml-ruby termios

Finally after the system gems you need to install twitter and some more gems.
Check this image and install ANY MISSING gem on your lovely Mac :

 

Step 8: Install twitterbuddy 

Now you have to download twitterbuddy, and once done double-click the install.command file to install it, or even better run it from the terminal with ./install.command
To test it works, open up a new Terminal window and type in twitterbuddy -h.
If everything went well, you should bring up the following list of options:
 

As you can see, typing twitterbuddy -u yourusername -p yourpassword -n 5 -t Tweets will display the last 5 tweets you have received, with the title “Tweets”. After perfecting your settings in Terminal, adding the command to GeekTool is easy. As with iCalBuddy, the only subtlety is that you have to use the full path, as shown below:

/usr/local/bin/twitterbuddy -u macosxtips -p ******** -n 5 -t Tweets

Happy twitter reading from your desktop, your terminal or wherever you want on your MAC ..!! 

Sources (1 , 2)

Share

By moschos

This is me :)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.