15 May 18:02
Re: ssh to execute remote ruby script
From: ara.t.howard <ara.t.howard <at> gmail.com>
Subject: Re: ssh to execute remote ruby script
Newsgroups: gmane.comp.lang.ruby.general
Date: 2008-05-15 16:02:27 GMT
Subject: Re: ssh to execute remote ruby script
Newsgroups: gmane.comp.lang.ruby.general
Date: 2008-05-15 16:02:27 GMT
On May 15, 2008, at 9:53 AM, Blake Miller wrote: > > I can't figure out why, when ssh'ing via the net/ssh package, the > remote > script cannot include rubygems. the remote machine has two rubys, one which has rubygems installed and one without - when you ssh into a machine you may or may not have your environment configured correctly and, thus, may or may not have your 'normal' PATH set. try your command with the full path to the ruby you are expecting to use. note that any system 'something' may also fail if the PATH setting is indeed the cause. this is a wild ass guess. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama
RSS Feed