crafterm/sprinkle — Issue #58: Installing Ruby hangs
Author: meskyanichi
Created: 2011-12-30 11:51:51+00:00
State: open

```

→ sprinkle -c -s provision.rb
--> Cloud hierarchy for policy application

Policy application requires package rails
Package rails requires rubygems
Package rubygems requires ruby
Package ruby requires ruby_dependencies
Package ruby_dependencies requires core
Package rails requires rubygems
Package rubygems requires ruby
Package ruby requires ruby_dependencies
Package ruby_dependencies requires core

--> Normalized installation order for all packages: core, ruby_dependencies, ruby, rubygems, rails
--> Installing core for roles: application
*** [err :: xxx.xx.xx.xxx] Extracting templates from packages: 76%
*** [err :: xxx.xx.xx.xxx] Extracting templates from packages: 100%
--> Installing ruby_dependencies for roles: application
--> Checking if ruby is already installed for roles: application
--> Verifying ruby...
--> Installing ruby for roles: application
```

It hangs forever at `--> Installing ruby for roles: application` - when I manually SSH in to the server and perform the operations manually it all works fine.

This is the package that's being run:

```ruby
package :ruby, :provides => :language do
requires :ruby_dependencies
version "1.9.3"
patchlevel "0"
source "ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-#{version}-p#{patchlevel}.tar.gz"

verify do
has_executable_with_version "ruby", version
has_executable "gem"
end
end
```

Anyone have any idea why this never finishes?