<div dir="ltr">I have been using rmate successfully -- installed with "<font face="courier new, monospace">gem install rmate</font>" on an Ubuntu system -- but rmate wasn't being recognised by the root user (via <font face="courier new, monospace">sudo</font> commands) so I did some fooling around in trying to install rmate for root. Didn't go well so I gave up. The problem is now it doesn't work for any user.<div>
<br></div><div>When I type "rmate filename" I get:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<p class=""><font face="courier new, monospace" size="1">/home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)</font></p>
<p class=""><font face="courier new, monospace" size="1"><span class=""> </span>from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in `new'</font></p>
<p class=""><font face="courier new, monospace" size="1"><span class=""> </span>from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in `connect_and_handle_cmds'</font></p>
<p class=""><font face="courier new, monospace" size="1"><span class=""> </span>from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:186:in `block in <top (required)>'</font></p>
<p class=""><font face="courier new, monospace" size="1"><span class=""> </span>from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:185:in `fork'</font></p>
<p class=""><font face="courier new, monospace" size="1"><span class=""> </span>from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:185:in `<top (required)>'</font></p>
<p class=""><font face="courier new, monospace" size="1"><span class=""> </span>from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/rmate:23:in `load'</font></p>
<p class=""><font face="courier new, monospace" size="1"><span class=""> </span>from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/rmate:23:in `<main>'</font></p>
<p class=""><font face="courier new, monospace" size="1"><span class=""> </span>from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'</font></p>
<p class=""><font face="courier new, monospace" size="1"><span class=""> </span>from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>'</font></p></blockquote><div><br></div><div>Not being a rubiest or even much Ubuntist I'm seeking help from the community. Anyone have any ideas how I can get back to normal?</div>
<div><br></div><div>Ken</div><div><br></div><div>p.s. I did try uninstalling and reinstalling (with gem) but that didn't change the behaviour. </div></div>