6

I just found the Atom text editor on OSX.

When I try to run a Julia script in Atom, like in Juno, I get a path error:

enter image description here

Changing my path by editing ~/.profile doesn't work... How can I get this to run?

1 Answer 1

6

Go to Atom --> Open Your Init Script

enter image description here

There, in the init.coffee file, put this:

process.env.PATH = ["/Applications/Julia-0.4.0-dev-a9e0dd2fb2.app/Contents/Resources/julia/bin",
 process.env.PATH].join(":")

and it should run when you do + i.

2
  • Should we us "julia-ide package" or "julia-client package"?
    – skan
    Commented Dec 15, 2015 at 23:18
  • 2
    @skan I've only used julia-client... not sure about julia-ide. Pretty sure julia-client requires julia 0.4 (or higher) though.
    – userABC123
    Commented Dec 16, 2015 at 2:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.