' eval':无法加载此类文件

时间:2018-06-09 12:18:38

标签: ruby installation rubygems dependencies

我已经安装了DL gem:

gem list
dl (1.2.4)

但是运行ruby应用程序仍然会出现以下错误:

-:1:in `eval': cannot load such file -- dl/import (LoadError)
    from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from (eval):3:in `<main>'
    from -:1:in `eval'
    from -:1:in `<main>'

当我gem search import时,有150多个选项。我需要安装哪个gem才能满足此dl / import依赖性错误?

0 个答案:

没有答案