Permission problems
Phusion Passenger Standalone must be able to write to the following directory:
<%= @dir %>
But it can't do that, because you're running Phusion Passenger Standalone as
<%= `whoami`.strip %>. Please re-run Phusion Passenger Standalone as root.