[MacPorts] #42056: texlive-context: fails with ruby 2.0
#42056: texlive-context: fails with ruby 2.0 ----------------------+----------------------------- Reporter: mojca@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: texlive-context ----------------------+----------------------------- ConTeXt fails to work with ruby 2.0. You can try to reproduce the problem by setting {{{ sudo port set ruby ruby20 }}} (on 10.9 ruby 2.0 is probably default already) and then trying to compile a simple hello world document with `texexec hello.tex`: {{{ \starttext Hello world! \stoptext }}} Testing with MacTeX 2013 (not the one by MacPorts) throws: {{{ /opt/local/lib/ruby2.0/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require': /usr/local/texlive/2013/texmf- dist/scripts/context/ruby/base/switch.rb:501: invalid multibyte escape: /\xFF/ (SyntaxError) from /opt/local/lib/ruby2.0/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require' from /usr/local/texlive/2013/texmf- dist/scripts/context/ruby/texexec.rb:11:in `<main>' }}} I attached the patch. While at it you probably can also remove the other patch in `texlive-context`. -- Ticket URL: <https://trac.macports.org/ticket/42056> MacPorts <http://www.macports.org/> Ports system for OS X
#42056: texlive-context: fails with ruby 2.0 ------------------------------+---------------------- Reporter: mojca@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: texlive-context | ------------------------------+---------------------- Changes (by dports@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/42056#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42056: texlive-context: fails with ruby 2.0 ------------------------------+---------------------- Reporter: mojca@… | Owner: dports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: texlive-context | ------------------------------+---------------------- Changes (by dports@…): * status: assigned => closed * resolution: => fixed Comment: Thanks, committed in r115694. -- Ticket URL: <https://trac.macports.org/ticket/42056#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts