Interact with Bundler from Emacs.
-
bundle-open
wraps bundle open which, if the given gem is installed and has been required correctly, will open the gem's source directory with dired. -
bundle-console
starts an inferior ruby process in the context of the current bundle using 'bundle console' (requires inf-ruby to be installed). -
bundle-install
,bundle-update
,bundle-check
run the corresponding Bundler commands withasync-shell-command
and *Bundler* as the target buffer. This exists so the output won't mess with the default buffer used by M-& andasync-shell-command
.
$ cd ~/.emacs.d/vendor
$ git clone git://github.com/tobiassvn/bundler.el.git
In your Emacs config:
(add-to-list 'load-path "~/.emacs.d/vendor/bundler.el")
(require 'bundler)
Copyright 2011 (c) Tobias Svensson [email protected]
Released under the same license as GNU Emacs.