What is your ruby version?

Try to add this line to deploy.rb:
    set :max_hosts, 1

If it works then the problem is the ruby version(again).

Third Replicator wrote:
> I'm using this code from 
> http://pragmatig.wordpress.com/2008/10/10/capistrano-recipe-to-install-or-update-passenger/
>
> task :install_passenger do
>   set_variables
>   run "sudo gem install --no-ri --no-rdoc passenger"
>   input = ''
>   run "sudo passenger-install-apache2-module" do |ch,stream,out|
>     next if out.chomp == input.chomp || out.chomp == ''
>     print out
>     ch.send_data(input = $stdin.gets) if out =~ /(Enter|ENTER)/
>   end
> end
>
>
> But it just sort of hangs there.
>
>   
>>> cap install_passenger
>>>       
>   * executing `install_passenger'
>   * executing `set_variables'
>   * executing `get_ip'
>   * executing `get_instance_id'
> instance id: i-c38b86aa
> ip address: ec2-67-202-0-185.compute-1.amazonaws.com
>   * executing "sudo passenger-install-apache2-module"
>     servers: ["ec2-67-202-0-185.compute-1.amazonaws.com"]
>     [ec2-67-202-0-185.compute-1.amazonaws.com] executing command
>
> ....... *Hang to infinite*.......
>
> >
>
>   


-- 
Rafa


--~--~---------~--~----~------------~-------~--~----~
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.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to