Ulimit and make_sock errors

Solution 1:

The problem was a culmination of Permission errors and Phusion Passenger being installed incorrectly.

The issue was I was trying to run as a regular "user" instead of root. I fixed this by either sudo'ing my command, or sudo su'ing into root and running service apache2 restart. Evidently restarting apache2 as a regular user if okay, but Redmine and Ruby requires escalated permissions to run ulimit changes.