#60758: rb-kramdown RuntimeError

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

#60758: rb-kramdown RuntimeError

macports-4
#60758: rb-kramdown RuntimeError
------------------------+-------------------------
 Reporter:  danielbair  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  rb-kramdown
------------------------+-------------------------
 rb-kramdown throws this error:
 /opt/local/lib/ruby/vendor_ruby/1.8/kramdown/document.rb:40:in `data_dir':
 kramdown data directory not found! This is a bug, please report it!
 (RuntimeError)

 Also, can this port be updated to use the latest macports ruby version?

 I am working on a new port for espeak-ng and it uses kramdown to build its
 docs. (https://github.com/macports/macports-ports/pull/7581)

--
Ticket URL: <https://trac.macports.org/ticket/60758>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60758: rb-kramdown RuntimeError

macports-4
#60758: rb-kramdown RuntimeError
--------------------------+----------------------
  Reporter:  danielbair   |      Owner:  kimuraw
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  rb-kramdown  |
--------------------------+----------------------
Changes (by ryandesign):

 * owner:  (none) => kimuraw
 * status:  new => assigned


Old description:

> rb-kramdown throws this error:
> /opt/local/lib/ruby/vendor_ruby/1.8/kramdown/document.rb:40:in
> `data_dir': kramdown data directory not found! This is a bug, please
> report it! (RuntimeError)
>
> Also, can this port be updated to use the latest macports ruby version?
>
> I am working on a new port for espeak-ng and it uses kramdown to build
> its docs. (https://github.com/macports/macports-ports/pull/7581)

New description:

 rb-kramdown throws this error:
 {{{
 /opt/local/lib/ruby/vendor_ruby/1.8/kramdown/document.rb:40:in `data_dir':
 kramdown data directory not found! This is a bug, please report it!
 (RuntimeError)
 }}}

 Also, can this port be updated to use the latest macports ruby version?

 I am working on a new port for espeak-ng and it uses kramdown to build its
 docs. (https://github.com/macports/macports-ports/pull/7581)

--

Comment:

 There should be a separate subport (of each rb-* port) for each supported
 version of ruby, the way that php and python ports work.

--
Ticket URL: <https://trac.macports.org/ticket/60758#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60758: rb-kramdown RuntimeError

macports-4
In reply to this post by macports-4
#60758: rb-kramdown RuntimeError
--------------------------+---------------------
  Reporter:  danielbair   |      Owner:  kimuraw
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:  fixed        |   Keywords:
      Port:  rb-kramdown  |
--------------------------+---------------------
Changes (by kimuraw):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"531db410999dc094466c0e84e7a5a15c01fac441/macports-ports"
 531db410999dc094466c0e84e7a5a15c01fac441/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="531db410999dc094466c0e84e7a5a15c01fac441"
 ruby/rb-kramdown: update to 2.3.0, becomes rb27-kramdown|rb26-kramdown

 fixes https://trac.macports.org/ticket/60758

 - includes subport rb27-kramdown and rb26-kramdown
 - drop ruby-1.8 support
 - rb-webgen depends rb-kramdown. the port will be updated in next commit.
   - seach by `git grep kramdown -- '**/Portfile'`
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/60758#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS