Open mxgrn opened 13 years ago
Hi Sergei,
what Inploy version and Ruby version are you using?
Ruby 1.9.2p0, inploy 1.8 (and I also tried to install the gem directly from GitHub). Thanks for looking at it!
Can you please try with another Ruby 1.9.2 version? I just tried with this two versions without problems:
ruby-1.9.2-head [ x86_64 ] ruby-1.9.2-preview1 [ x86_64 ]
Just tried with 1.9.2-head, same result. Btw, here's the error trace:
/Users/skozlov/.rvm/gems/ruby-1.9.2-head/gems/inploy-1.8/lib/inploy/dsl.rb:71:in `remote_run': undefined method `each' for nil:NilClass (NoMethodError)
from /Users/skozlov/.rvm/gems/ruby-1.9.2-head/gems/inploy-1.8/lib/inploy/deploy.rb:57:in `remote_update'
from /Users/skozlov/.rvm/gems/ruby-1.9.2-head/gems/inploy-1.8/lib/inploy/cli.rb:7:in `execute'
from /Users/skozlov/.rvm/gems/ruby-1.9.2-head/gems/inploy-1.8/bin/inploy:7:in `<top (required)>'
from /Users/skozlov/.rvm/gems/ruby-1.9.2-head/bin/inploy:19:in `load'
from /Users/skozlov/.rvm/gems/ruby-1.9.2-head/bin/inploy:19:in `<main>'
When I look into Inploy code, I see that the "hosts" somehow returns nil. As soon as I configure hosts by assigning @hosts, it works.
deploy.rb like this:
... wouldn't take any effect.
While this:
... does work.