2

我有一个 Ceedling 项目,我想为其设置非硬编码的 ceedling 路径。为此,我尝试了两种方式-

:environment:
  - :CEEDLING: 
     - my_ceed/ceedling

:environment:
  - :CEEDLING: 
     - "#{ENV['CEEDLING_PATH']}"

并像使用它一样

:which_ceedling: ../../../#{ENV['CEEDLING']}

然而,这并没有按预期进行评估 -

Traceback (most recent call last):
    3: from /usr/local/bin/ceedling:23:in `<main>'
    2: from /usr/local/bin/ceedling:23:in `load'
    1: from /var/lib/gems/2.5.0/gems/ceedling-0.29.1/bin/ceedling:316:in `<top (required)>'
/var/lib/gems/2.5.0/gems/ceedling-0.29.1/bin/ceedling:316:in `load': cannot load such file -- #{ENV['CEEDLING']}/lib/ceedling.rb (LoadError)

我在这里缺少什么,或者不可能为 ceedling 路径本身执行此操作?

4

0 回答 0