Reputation: 572
I'm working on a Rails Runner script and I want to see what values are set in a variable in the script?
Usual puts
doesn't work...
Upvotes: 4
Views: 3105
Reputation: 572
Ahh. Figured it out, use STDOUT.flush
after each puts
in the script.
http://redgreenrepeat.com/2016/08/20/til-feedback-in-rails-runner/
Upvotes: 5