Hi all,

We use Capistrano to deploy to a range of servers and it works like a charm.
However, I do want to use the cap HOSTS= option to deploy only to a single 
host, and this does not seem to work.

When we execute this task on all our production servers, it works. It fails 
however when I add the HOSTS= option like this:

cap HOSTS=*.*.*.* production environment:gem_list

We get this error message:

    [*.*.*.*] executing command
 ** [out :: *.*.*.*] bash: /usr/local/rvm/bin/rvm-shell: No such file or 
directory
    command finished in 13ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell 
'ruby-1.9.3-p194' -c 'cd /data/app/current && RAILS_ENV=production bundle 
show'" on *.*.*.*

The main difference is that on the production environment, we use the 
following:

default_run_options[:pty] = true

On our staging environment, without the "default_run_options[:pty] = true" 
option, it works all right.

Is there a workaround for this issue?

Thanks,
Suhrawardi

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to