【问题标题】:pry -r ./config/environment different from pry -r config/environmentpry -r ./config/environment 不同于 pry -r config/environment
【发布时间】:2014-03-11 09:22:45
【问题描述】:

当一个在 rails - application 文件夹时,为什么不一样

$demo_app> pry -r ./config/environment 

来自

$demo_app> pry -r config/environment

?

【问题讨论】:

    标签: linux pry


    【解决方案1】:

    ./ 表示您正在执行命令的当前文件夹,如果 ./ 未提及,它也会尝试在类路径中查找

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-03-24
      • 2019-06-22
      • 2011-02-13
      • 2018-11-29
      • 1970-01-01
      • 2011-10-29
      • 1970-01-01
      • 2019-06-28
      相关资源
      最近更新 更多