Terminal not executing Ruby files

后端 未结 4 2028
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-11 06:24

I\'m pretty much entirely new to programming, so bear with me. I am on a Macbook Pro running 10.6.6.

At the beginning of the \"Learn to Program\" tutorial are these dir

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-11 06:50

    Did you call your file Calc.rb and saved it as a rb file to. becouse then its called internaly. Calc.rb.rb
    and be sure to run cmd from desktop :D

提交回复
热议问题