Opened 4 years ago

Closed 4 years ago

#60758 closed defect (fixed)

rb-kramdown RuntimeError

Reported by: danielbair (Daniel Bair) Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: rb-kramdown

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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)

Change History (2)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to kimuraw
Status: newassigned

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

comment:2 Changed 4 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: assignedclosed

In 531db410999dc094466c0e84e7a5a15c01fac441/macports-ports (master):

ruby/rb-kramdown: update to 2.3.0, becomes rb27-kramdown|rb26-kramdown

fixes #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'
Note: See TracTickets for help on using tickets.