sprinkle-tool / sprinkle

Sprinkle is a software provisioning tool you can use to build remote servers with. eg. to install a Rails, or Sinatra stack on a brand new slice directly after its been created
https://github.com/sprinkle-tool/sprinkle
MIT License
1.15k stars 138 forks source link

ssh actor needs net-ssh-gateway #169

Closed radiospiel closed 11 years ago

radiospiel commented 11 years ago

While I didn't test whether or not the SSH Gateway functionality works, a clean 1.9.3 ruby installation needs the net-ssh-gateway gem installed when using the ssh actor.

This should be noted in the README, and/or the ssh agent be changed so that the gateway option is disabled if Net::SSH::Gateway is not available.

joshgoebel commented 11 years ago

What about for 1.8?

joshgoebel commented 11 years ago

ssh agent be changed so that the gateway option is disabled if Net::SSH::Gateway

I think we should just try to require it and if it fails then have a nice error message that explains to the user it is required.

joshgoebel commented 11 years ago

http://rubygems.org/gems/capistrano/versions/2.15.5

net-ssh-gateway is a runtime dependency of capistrano. If someone gem installs sprinkle they should also have that dependency by way of capistrano.