Technology Insights

SVN Mountain Lion

I needed to use SVN on a new installation of Mountain Lion OSX on my Macbook Pro and initially assumed it would be there because I already had Xcode installed however it was not or was not located in my path. After playing around in the Xcode interface for a moment I located the Command Line Tools package available for download which ended up installing svn on the command line. Below I describe how to verify if SVN is installed on OSX and explain how to install it if it does not already exist.

Technology Insights

Generate A GPG Key To Sign RPM Packages Created Using rpmbuild On CentOS Linux

I have been playing around with building RPM packages today on CentOS because I needed to upgrade curl and the latest version available on CentOS didn’t have the features I needed to use. One of the things that had come h up during the RPM build process and the RPM package installation process using yum was the fact that your RPM packages should be signed. Signing RPM packages gives them some validity and will allow others to install them without having to modify their yum.conf file. Below I describe how to generate a GPG key to be used to sign RPM packages created using the rpmbuild command. First below is a message that will be received when attempting to install unsigned packages using yum with the default yum configuration.

Technology Insights

Find Out If My Ruby Binaries are Stripped Or Not Stripped

During some testing earlier a gem we were using required that the Ruby binaries on the server to be unstripped or not stripped. I wanted to provide information relating to finding out if your Ruby binaries were stripped or not stripped including what the output of each will look like. Below is a command you can use to find out if your Ruby version is stripped or not stripped including example outputs to display what each will look like.

Technology Errors

Linux -bash: which: command not found

Typically the “which” command is installed by default though depending on what Linux distribution and what packages you decided to install there is a possibility the command is not installed. Installing which is easy on any distribution as the package is literally just called “which”. Below is a brief explanation of the error you could get if which is not installed and information on how to install the which package using the yum package manager on CentOS.