RubyTest in Sublime Text 2

前端 未结 12 1763
逝去的感伤
逝去的感伤 2020-12-12 16:24

I am trying to get RubyTest to work in Sublime Text 2. I followed the Instruction on the Github Readme and get the following error. Does anyone know how I could fix this?

12条回答
  •  星月不相逢
    2020-12-12 16:53

    You can see a summary of this issue here: https://github.com/maltize/sublime-text-2-ruby-tests/issues/36

    Essentially, what Jim said was correct, you're running RVM or some other ruby vm manager that similarly monkeys with your PATH. Following the directions from this issue I did the following:

    Install the binaries in my project

    bundle install --binstubs
    

    Add the path to my .bashrc and source it

    echo 'export PATH="./bin:$PATH"' >> ~/.bashrc
    source ~/.bashrc
    

    Open the sublime project from the command line (so that PATH is available in Sublime Text 2)

    subl .
    

提交回复
热议问题