I have been using rmate successfully -- installed with "gem install rmate" on an Ubuntu system -- but rmate wasn't being recognised by the root user (via sudo 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.
When I type "rmate filename" I get:
/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)
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in `new'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in `connect_and_handle_cmds'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:186:in `block in <top (required)>'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:185:in `fork'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:185:in `<top (required)>'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/rmate:23:in `load'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/rmate:23:in `<main>'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>'
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?
Ken
p.s. I did try uninstalling and reinstalling (with gem) but that didn't change the behaviour.
It looks similar to the ipv4 to ipv6 api change in rmate and the errors I was getting. This thread helped me: http://textmate.1073791.n5.nabble.com/rmate-stopped-working-with-alpha-9459-...
On Thu, Nov 21, 2013 at 4:57 AM, Ken Snyder ken+textmate@ken.net wrote:
I have been using rmate successfully -- installed with "gem install rmate" on an Ubuntu system -- but rmate wasn't being recognised by the root user (via sudo 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.
When I type "rmate filename" I get:
/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)
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in `new'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in `connect_and_handle_cmds'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:186:in `block in <top (required)>'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:185:in `fork'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:185:in `<top (required)>'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/rmate:23:in `load'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/rmate:23:in `<main>'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>'
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?
Ken
p.s. I did try uninstalling and reinstalling (with gem) but that didn't change the behaviour.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Le 21 nov. 2013 à 15:21, Craig Hess craig@dazium.com a écrit :
It looks similar to the ipv4 to ipv6 api change in rmate and the errors I was getting. This thread helped me: http://textmate.1073791.n5.nabble.com/rmate-stopped-working-with-alpha-9459-...
Given the "connection refused" error, I would check your SSH tunnel setup : it looks to me that rmate works on the machine you're calling it on, but it has no way to phone back into your locally-running TM.
So I'd say check your SSH tunnel : you should have a
RemoteForward *portnumber* localhost:*portnumber*
in your local .ssh/config file, and make sure *portnumber* equals the one setup in TM's Terminal > rmate prefs.
HTH, Etienne Samson -- samson.etienne@gmail.com
On Thu, Nov 21, 2013 at 4:57 AM, Ken Snyder ken+textmate@ken.net wrote: I have been using rmate successfully -- installed with "gem install rmate" on an Ubuntu system -- but rmate wasn't being recognised by the root user (via sudo 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.
When I type "rmate filename" I get: /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)
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in `new'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in `connect_and_handle_cmds'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:186:in `block in <top (required)>'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:185:in `fork'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:185:in `<top (required)>'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/rmate:23:in `load'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/rmate:23:in `<main>'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>'
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?
Ken
p.s. I did try uninstalling and reinstalling (with gem) but that didn't change the behaviour.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate