Ruby 'require' error: cannot load such file

后端 未结 13 1342
抹茶落季
抹茶落季 2020-12-02 05:07

I\'ve one file, main.rb with the following content:

require \"tokenizer.rb\"

The tokenizer.rb file is in the same directory and it

相关标签:
13条回答
  • 2020-12-02 06:01

    you need to give the path. Atleast you should give the path from the current directory. It will work for sure. ./filename

    0 讨论(0)
提交回复
热议问题