But since then “gem –version” reported that it could not it’s version.
So now I’ve removed the previous installed version, downloaded the tar and reinstalled.
Using the editor of your choice, create and edit a file in your home directory named at the beginning of the line returned by the system.
We’re going to create a folder to contain the files we’re about to download and compile.
If the platform of the computer downloading the gems does not match the platform of the computer installing the gems (linux download, windows install) you may need to override it.
Monday, 31 August 2009 • Permalink These are instructions for compiling and installing 64-bit Ruby, Rubygems, and Ruby on Rails on Mac OS X 10.6, Snow Leopard.
So the question is, how do I install rubygems, specifically version 1.3.7 manually?
Please don't suggest adding the Ubuntu 12.04 repositories back to 14.04, that's a terrible solution and can break the system moving forward.
I think checked to see if the “gem” command had the right versions on each server and that is where I located the issue.
The server that would not install the request-log-analyzer gem showed version 1.1.1 for the gem command as shown below.
If you saw something different, you haven’t set your path correctly.
which will work on Ubuntu 12.04, throws up an error on 14.04 because ruby1.8 is a bit outdated and has been removed from the official ubuntu 14.04 repositories, but my application is yet to be ported to the newer ruby versions.
Earlier when attempting to install the request-log-analyzer gem on a Cent OS Linux server I ran into some issues.