DEV Community

Ivan Guerreschi
Ivan Guerreschi

Posted on

Using bundle exec with Flycheck in Emacs

Create a .dir-locals.el file in the project root and
edit the file with this code in Emacs Lisp

((ruby-mode . ((eval . (setq-local flycheck-command-wrapper-function
  (lambda (command)
    (append '("bundle" "exec") command)))))))
Enter fullscreen mode Exit fullscreen mode

Top comments (0)