lib/scout/command/install.rb in scout-5.0.3 vs lib/scout/command/install.rb in scout-5.1.0

- old
+ new

@@ -20,10 +20,13 @@ END_INTRO key = gets.to_s.strip puts "\nAttempting to contact the server..." begin - Scout::Server.new(server, key, history, log) { |scout| scout.fetch_plan } + Scout::Server.new(server, key, history, log) do |scout| + scout.fetch_plan + scout.run_plugins_by_plan + end puts <<-END_SUCCESS.gsub(/^ {10}/, "") Success! Now, you must setup Scout to run on a scheduled basis.