mirror of
https://github.com/arloan/prdns.git
synced 2026-04-25 14:35:58 +03:00
[GH-ISSUE #4] 执行prdns报错 #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/prdns#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ted-dev-42 on GitHub (Mar 4, 2020).
Original GitHub issue: https://github.com/arloan/prdns/issues/4
环境 ubuntu16.04 ruby2.6
Traceback (most recent call last):
7: from /usr/local/bin/prdns:23:in
<main>' 6: from /usr/local/bin/prdns:23:inload'5: from /var/lib/gems/2.6.0/gems/prdns-0.1.0/exe/prdns:5:in
<top (required)>' 4: from /usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:inrequire'3: from /usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require' 2: from /var/lib/gems/2.6.0/gems/prdns-0.1.0/lib/prdns.rb:1:in<top (required)>'1: from /usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require' /usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:inrequire': cannot load such file -- async/dns (LoadError)@arloan commented on GitHub (Mar 4, 2020):
@xcjiang Please check the output messages when you were installing the gem via
gem install prdns,prdnsdepends on gemasync-dns, which in return depends on gemasync-io, it includes a native extension need to be compiled during the installation process. I guess there were some error message about it.@ted-dev-42 commented on GitHub (Mar 4, 2020):
gem install 的时候并没有报错:
@arloan commented on GitHub (Mar 4, 2020):
OK... maybe I forget to add dependencies for the Gem...- -b
@arloan commented on GitHub (Mar 4, 2020):
OK, please optionally uninstall your already installed prdns version 0.1.0, then install the newest version 0.1.1, which fixed the missing dependencies problem.