On 2011-10-06, Steve <[email protected]> wrote: > Hi, > Can someone please point me in the right direction. > > I am trying to start > a ruby rails app from rc.local by calling a script. > > The script simply changes > directory and executes the app > The script works outside of rc.local > > I > understand this is probably unix 101 but I cant find it. > > Thanks >
Have the script dump the environment variables (set >> /tmp/foo) and compare the difference between running from rc.local and from the shell. Pay particular attention to things like PATH.

