You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run mina setup on my windows machine (yes I know a unix system would be better) mina tries to ssh my server via the windows username even if I set it in the deploy.rb via the set :user, 'username' command.
The text was updated successfully, but these errors were encountered:
Seems that it doesn't recognize the :user variable so that it isn't filled which ends in calling the server with the windows username. But the main question still is important: Why isn't he recognizing the :user variable
The issue happens because of a feature in Mina with which you can override variables with environment variables, e.g. mina deploy user=smth will override whatever is set for user variable in deploy.rb.
This is unfortunate on Windows because environment variables can be accessed case-insensitively and since USER variable exists, it overrides Mina user variable.
A workaround for now is to invoke a command with a desired variable value, e.g. mina setup user=username. This will be fixed in 2.0.0 when we won't be using environment variables anymore (you can follow the development of that in issue #675).
When I run
mina setup
on my windows machine (yes I know a unix system would be better) mina tries to ssh my server via the windows username even if I set it in the deploy.rb via theset :user, 'username'
command.The text was updated successfully, but these errors were encountered: