#54866 closed defect (fixed)
latest ruby24 update breaks jazzy 0.8.3
Reported by: | cctile (Charles Choi) | Owned by: | kimuraw (kimura wataru) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | ||
Port: | ruby24 |
Description (last modified by mf2k (Frank Schima))
Latest port upgrade outdated on Sep 18, 2017 breaks jazzy source documentation tool.
cchoi@tiledev3:~/work> jazzy /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:120:in `require': dlopen(/opt/local/lib/ruby2.4/gems/2.4.0/gems/redcarpet-3.4.0/lib/redcarpet.bundle, 9): Library not loaded: /opt/local/lib/libruby.2.4.1.dylib (LoadError) Referenced from: /opt/local/lib/ruby2.4/gems/2.4.0/gems/redcarpet-3.4.0/lib/redcarpet.bundle Reason: image not found - /opt/local/lib/ruby2.4/gems/2.4.0/gems/redcarpet-3.4.0/lib/redcarpet.bundle from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:120:in `require' from /opt/local/lib/ruby2.4/gems/2.4.0/gems/redcarpet-3.4.0/lib/redcarpet.rb:1:in `<top (required)>' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/gems/2.4.0/gems/jazzy-0.8.3/lib/jazzy/jazzy_markdown.rb:1:in `<top (required)>' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/gems/2.4.0/gems/jazzy-0.8.3/lib/jazzy/doc.rb:7:in `<top (required)>' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/gems/2.4.0/gems/jazzy-0.8.3/lib/jazzy/config.rb:5:in `<top (required)>' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/gems/2.4.0/gems/jazzy-0.8.3/lib/jazzy.rb:1:in `<top (required)>' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/gems/2.4.0/gems/jazzy-0.8.3/bin/jazzy:13:in `<top (required)>' from /opt/local/bin/jazzy:23:in `load' from /opt/local/bin/jazzy:23:in `<main>'
Change History (7)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Keywords: | ruby24 removed |
---|---|
Owner: | set to kimuraw |
Status: | new → assigned |
comment:2 Changed 7 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 Changed 7 years ago by cctile (Charles Choi)
cchoi@tiledev3:~/work> jazzy /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:120:in `require': dlopen(/opt/local/lib/ruby2.4/gems/2.4.0/gems/redcarpet-3.4.0/lib/redcarpet.bundle, 9): Library not loaded: /opt/local/lib/libruby.2.4.1.dylib (LoadError) Referenced from: /opt/local/lib/ruby2.4/gems/2.4.0/gems/redcarpet-3.4.0/lib/redcarpet.bundle Reason: image not found - /opt/local/lib/ruby2.4/gems/2.4.0/gems/redcarpet-3.4.0/lib/redcarpet.bundle from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:120:in `require' from /opt/local/lib/ruby2.4/gems/2.4.0/gems/redcarpet-3.4.0/lib/redcarpet.rb:1:in `<top (required)>' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/gems/2.4.0/gems/jazzy-0.8.3/lib/jazzy/jazzy_markdown.rb:1:in `<top (required)>' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/gems/2.4.0/gems/jazzy-0.8.3/lib/jazzy/doc.rb:7:in `<top (required)>' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/gems/2.4.0/gems/jazzy-0.8.3/lib/jazzy/config.rb:5:in `<top (required)>' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/gems/2.4.0/gems/jazzy-0.8.3/lib/jazzy.rb:1:in `<top (required)>' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require' from /opt/local/lib/ruby2.4/gems/2.4.0/gems/jazzy-0.8.3/bin/jazzy:13:in `<top (required)>' from /opt/local/bin/jazzy:23:in `load' from /opt/local/bin/jazzy:23:in `<main>'
comment:4 Changed 7 years ago by kimuraw (kimura wataru)
Status: | assigned → accepted |
---|
Thanks for your report.
I've confirmed this problem. The filename of libruby should be "libruby.2.4.0.dylib" for any versions of ruby 2.4.x.
I asked this problem to the Ruby Core Team and wait their reply now.
As a workaround, run gem2.4 pristine -all
will solve your problem.
comment:6 Changed 7 years ago by kimuraw (kimura wataru)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
I've added a workaround to fix this problem.
ruby24 @2.4.2_1 installs these symlinks:
- libruby.2.4.0.dylib -> libruby.2.4.2.dylib
- libruby.2.4.1.dylib -> libruby.2.4.2.dylib
https://github.com/macports/macports-ports/commit/0ce2be89f596f5c5540972ea4fb9cafeb835cbf3
comment:7 Changed 7 years ago by kimuraw (kimura wataru)
note: ruby trunk fixed this problem at r60018. the change will be merged into version 2.4.x.
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/60018
Note: See
TracTickets for help on using
tickets.
In the future, please use WikiFormatting and Cc the port maintainers (
port info --maintainers ruby24
), if any.