Tagged with macports

Find shell commands with which

2009-04-19 15:02:04

So I have this command in my $PATH, apachectl. Because I'm on a mac and I've installed apache2 through MacPorts, the command that gets found first is my macports install in /opt. Up until now I've always known that which apachectl will find that location, but to find any other locations of apachectl I'd usually use locate and egrep… --More--

Migrating Rubygems to Ruby 1.9.x

2009-01-31 20:29:57

So I just installed ruby 1.9.1 through MacPorts and wanted to easily migrate my rubygems across from 1.8 to see which ones would fail to install. --More--

Install Mysql Gem on Leopard

2009-01-21 17:09:41

So, I keep having to reinstall mysql5 and rubygems from time to time for various reasons. I always install mysql5 through MacPorts as a dependency for the php5 port (along with various other bits for the LA*P stack). --More--