atom-ruby-test
atom-ruby-test copied to clipboard
.zshrc doesn't get loaded
Atom version 0.211.0, ruby-test version 0.9.11.
Running oh-my-zsh, and notice that my ~/.zshrc isn't loaded automatically, which causes the PATH to not be set, so gems like rspec and bundler aren't available.
The only way I could get it working was to explicitly source my ~/.zshrc (see screenshot below), which obviously is not ideal. Not sure if something is misconfigured on my end, or if this is a legitimate bug.

same issue
I found a solution actually. Add a ~/.zprofile file. In that just write
source ~/.zshrc
That with setting Shell to zsh in the configuration should solve this issue.
same here and @jnevelson source ~/.zshrc worked for me.
On working on #67, I noticed that the two dash arguments passed to the shell program were in the wrong order: zsh -c -l {command}. It is now corrected to zsh -l -c {command}. Bash didn't care either way. I wonder if zsh did. Try ruby-test 0.9.13, without your workaround. Does it work now?
Running 0.9.16, same loading error on minitest.
@libo ~/.zprofile worked for me.
~/.zshrc is only loaded for interactive shells. Have you tried setting the path in ~/.zshenv, which is loaded for all shell invocations?