gitlabhq/gitlab-recipes — pull request #99 by relip (2013-05-18 08:20:49+00:00)
Title: Save original $PATH and restore it after execute '/etc/rc.d/init.d/functions'

/etc/rc.d/init.d/functions resets `$PATH` to default(`/sbin:/usr/sbin:/bin:/usr/bin`). Consequently, rvm and compiled ruby with custom path (which isn't `/usr/bin`) cannot be executed.