Open jiamingz42 opened 8 years ago
+1 Same issue
I think this problem is related to this line of code:
command
is probably undefined, can you try manually setting your rspec command in the plugin configuration? Just rspec
will do.
Yup, that worked. I added the
'rspec':
'command': 'bundle exec rspec'
snippet to my config and it works now. Any idea how to bypass .zshrc so that I don't get the above errors/warnings at the start of my specs?
I'm running fish, and I can't get it to work even with that snippet.
I just get
bash: line 1: undefined: command not found
Same problem as @kholbekj here
@kholbekj & @cdeliens, you may have to give it some context, I'm using chruby
on OSX, so I set it up like this:
'rspec':
'command': 'source /usr/local/opt/chruby/share/chruby/chruby.sh && chruby `cat .ruby-version` && bundle exec rspec'
Add this to your config file:
'rspec':
'command': 'bash; rspec'
I've got the same problem, can anyone help me? I'm trying to install a new theme (cobalt2) for zsh shell and when I types source ~/.zshrc I got the "command autoload not found" error I'm not getting where/how to fix this probelm
For anyone else still running into this, the snippet for the rspec config needs to be indented as part of the '*' block. Do it like this (notice indentation):
"*":
rspec:
command: "bundle exec rspec"
Not like this:
rspec:
command: "bundle exec rspec"
Sourcing .zshrc from bash results in the same error. So you need to start zsh first!
I just encountered the same, the reason is default shell not zsh, use chsh -s to change default shell to zsh
I am using oh-my-zsh as my default shell. When I run this plugin in Atom, I saw this error message