15 May 18:19
Re: ssh to execute remote ruby script
From: Blake Miller <blakeage <at> hotmail.com>
Subject: Re: ssh to execute remote ruby script
Newsgroups: gmane.comp.lang.ruby.general
Date: 2008-05-15 16:19:23 GMT
Subject: Re: ssh to execute remote ruby script
Newsgroups: gmane.comp.lang.ruby.general
Date: 2008-05-15 16:19:23 GMT
ara.t.howard wrote:
> try your command with the full path to the ruby you are expecting to use.
That worked...the new code uses the ruby in /usr/local/bin/ruby:
shell.exec "/usr/local/bin/ruby /usr/local/pgsql/share/migrate.rb
#{params['host']}"
--
--
Posted via http://www.ruby-forum.com/.
RSS Feed