Bundle install inside emacs
If you ever wanna test a new gem, or just download a new repo, and need to bundle install the gems, you can do it from inside emacs, just add this to your init.el:
(eval-after-load 'ruby-mode
'(progn
(define-key ruby-mode-map (kbd "C-c b")
(lambda () (interactive) (async-shell-command "bundle install" "**Bundler**")))))
After that, Just press C-c b, and emacs will run bundle install in the current folder.
Written by Arthur Nogueira Neves
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#