Interact with Bundler from Emacs.
-
bundle-openwraps bundle open which, if the given gem is installed and has been required correctly, will open the gem's source directory with dired. -
bundle-consolestarts 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-checkrun the corresponding Bundler commands withasync-shell-commandand *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 tob@tobiassvensson.co.uk
Released under the same license as GNU Emacs.