RUBYOPT环境的选项是什么?

huangapple go评论57阅读模式
英文:

What are the options for RUBYOPT env?

问题

我所能找到的只有 -W:no-deprecated-W:no-experimental 标志。

我尝试通过 RUBYOPTspec 来理解,但感到困惑。是否还有其他可用于 RUBYOPT 环境的选项?

英文:

All I could find out is -W:no-deprecated & -W:no-experimental flags.

I have tried to understand through RUBYOPT's spec but got lost. Are there any other options available for the RUBYOPT env?

答案1

得分: 2

检查 Ruby 手册(运行 man ruby)。

RUBYOPT    额外的 Ruby 选项。

  例如:RUBYOPT="-w -Ke"

  请注意,RUBYOPT 只能包含 -d、-E、-I、-K、-r、-T、-U、-v、-w、-W、--debug、--disable-FEATURE 和 --enable-FEATURE。

各个标志的含义在手册中有解释。

英文:

Check the Ruby manpage (run man ruby).

RUBYOPT    Additional Ruby options.

  e.g. RUBYOPT="-w -Ke"

  Note that RUBYOPT can contain only -d, -E, -I, -K, -r, -T, -U, -v, -w, -W, --debug, --disable-FEATURE and --enable-FEATURE.

The meaning of the individual flags are explained in the manpage itself.

huangapple
  • 本文由 发表于 2020年1月7日 00:54:07
  • 转载请务必保留本文链接:https://go.coder-hub.com/59616020.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定