From: Blake Miller Date: 2008-05-16T01:19:23+09:00 Subject: 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/.