Blake Miller | 15 May 18:19
Favicon

Re: ssh to execute remote ruby script

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/.


Gmane