Error Building Ruby in Sublime Text Editor

后端 未结 1 1655
慢半拍i
慢半拍i 2021-01-06 03:52
puts \"Hello World!\"

When I click CTRL+B (Tools->Build) I get the following error in the console

[Errno 2] No such file or

相关标签:
1条回答
  • 2021-01-06 04:24

    The problem seems to be the ~ in your Ruby command path. It may not be very general, but try to change

    "cmd": ["~/.rvm/bin/rvm-auto-ruby", "$file"]
    

    with

    "cmd": ["/home/your_username/.rvm/bin/rvm-auto-ruby", "$file"]
    
    0 讨论(0)
提交回复
热议问题