[MacPorts] #41488: rbenv @0.4.0 fails to initialize shell completion

MacPorts noreply at macports.org
Sun Apr 13 22:05:47 PDT 2014


#41488: rbenv @0.4.0 fails to initialize shell completion
-------------------------+--------------------------------
  Reporter:  macports@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.2.1
Resolution:              |   Keywords:
      Port:  rbenv       |
-------------------------+--------------------------------

Comment (by spamivore+macports@…):

 The port is still broken. I don't know if the associated patch fixes it or
 not, but it can be worked around by closing standard error and sourcing
 the completion file directly. For example, I initialize rbenv in my
 ''~/.profile'' as follows:

 {{{
 eval "$(rbenv init -)" 2>&-
 . /opt/local/etc/bash_completion.d/rbenv
 }}}

 It works for me, and may tide others through until the port is properly
 fixed.

-- 
Ticket URL: <https://trac.macports.org/ticket/41488#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list