dgutov / robe

Code navigation, documentation lookup and completion for Ruby
584 stars 37 forks source link

Symbol’s function definition is void: company-begin-backend when calling company-robe #115

Closed bolandross closed 6 years ago

bolandross commented 6 years ago

robe server is running (Robe connection established) pry is running in separate emacs window (pry(main)> => robe on 52006)

Gemfile with dependencies is in the same folder. robe-jump works

When I call company-robe, emacs returns Symbol’s function definition is void: company-begin-backend

Can you recommend a way to troubleshoot this?

evaluating (eval-after-load 'company '(push 'company-robe company-backends)) gives me nil as return value

dgutov commented 6 years ago

Did you install company-mode as well?

bolandross commented 6 years ago

Thanks a lot, this was the reason! I played around with Spacemacs, which didn't offer me to install company-mode via the package-installer. It turned out that I had to edit the .spacemacs file and uncomment auto-completion After restarting emacs, company-mode installed automatically and now, everything works fine! Thanks again for your help and patience.