Thanks, that worked great.
Eric
On Tuesday, March 24, 2015 at 4:15:30 PM UTC-5, Tomas Mikoviny wrote:
>
> in "Atom " -> "Open Your Init Script" add following line:
>
> process.env.PATH =
> ["/Applications/Julia-0.3.5.app/Contents/Resources/julia/bin",
> process.env.PATH].join(":")
>
> restart Atom.app and it should work
>
> Tomas
>
>
> On Monday, March 23, 2015 at 8:43:08 PM UTC+1, Eric S wrote:
>>
>> I'm trying out Atom editor and when I try to run a script from within
>> Atom, I get the following error message:
>>
>> Failed to spawn command julia. Make sure julia is installed and on your
>> PATH
>>
>> I searched this group and found the following post
>> <https://groups.google.com/forum/#!searchin/julia-users/path/julia-users/hs-PzH4mV0o/1GEqkmJML10J>
>> which
>> suggested using the command:
>>
>> *export
>> PATH="/Applications/Julia-0.3.0.app/Contents/Resources/julia/bin:$PATH"*
>>
>> I edited this to reflect that I am using Julia-0.3.5, and ran it in
>> terminal. When I echo PATH I get the following:
>>
>>
>> /Applications/Julia-0.3.5.app/Contents/Resources/julia/bin:/Users/ericshain/anaconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
>>
>> However, when I try to run the script in Atom, I get the same error. Any
>> suggestions on how to proceed?
>>
>> Eric
>>
>