Permission problems
<% if @desc %>
This installer must be able to <%= @access || "write to" %> <%= @desc %>.
<% else %>
This installer must be able to <%= @access || "write to" %> the following directory:
<%= @dir %>
<% end -%>
But it can't do that, because you're running the installer as <%= `whoami`.strip %>.
Please give this installer root privileges, by re-running it with <%= @sudo %>:
export ORIG_PATH="$PATH"
<%= @sudo_s_e %>
export PATH="$ORIG_PATH"
<%= @ruby %> <%= @installer %>