[TxMt] Re: rmate and sudo
mailinglist at textmate.org
Sat Jul 5 19:05:27 UTC 2014
On 5 Jul 2014, at 7:26, Ingo Lantschner wrote:
> ubuntu at ubuntu:/etc/apache2$ sudo rmate httpd.conf
> ubuntu at ubuntu:/etc/apache2$ /usr/local/bin/rmate:157:in `initialize':
> Connection refused - connect(2) (Errno::ECONNREFUSED)
Could it be that you have configured host/port for your regular user in
If this is the case, rmate could likely be update to check if SUDO_USER
is set, and if so, read that user’s settings.
> The documentation mentions a sudo-replacement *rvmsudo* which keeps
> the environment […]
Or maybe you have setup RMATE_HOST/RMATE_PORT, in that case you’ll
need to whitelist them. See ‘man sudoers’.
More information about the textmate