lib/whipped-cream/deployer.rb in whipped-cream-0.0.1pre2 vs lib/whipped-cream/deployer.rb in whipped-cream-0.0.1pre3

- old
+ new

@@ -35,13 +35,10 @@ def bootstrap ssh_exec <<-SCRIPT which ruby || time sudo apt-get install ruby -y - which runit || - time sudo apt-get install runit -y - which whipped-cream || time sudo gem install whipped-cream --no-ri --no-rdoc --pre mkdir -p ~/whipped-cream/ SCRIPT @@ -56,14 +53,15 @@ end def run_plugin ssh_exec <<-SCRIPT cd ~/whipped-cream - sudo whipped-cream start demo.rb + sudo whipped-cream start #{plugin_filename} --daemonize SCRIPT end def scp_copy(local, remote) + puts "Copying #{local} to pi@#{pi_address}:#{remote}" scp.upload! local, remote end def ssh_exec(command) command = command.prepend("set -ex\n")