2
我想向deploy/before_bundle.rb掛鉤添加一些消息,以便在部署時向命令行輸出進度的額外詳細信息。這可能嗎?添加輸出消息以部署鉤子
我想向deploy/before_bundle.rb掛鉤添加一些消息,以便在部署時向命令行輸出進度的額外詳細信息。這可能嗎?添加輸出消息以部署鉤子
你試過:
run "echo 'this will make it to the terminal'"
我只是猜測可能的工作。
這只是紅寶石所以puts
是在我的情況`$ stderr.puts「關於運行命令」`但是工作的`提出的「關於運行命令」精
puts "About to run a command"
run! "/bin/some/command"
puts "Finished"
# Sometimes the order seems off so try
$stderr.puts "About to run a command"
$stderr.flush
'似乎是失敗的 – illusionist 2015-06-11 05:44:29