NonGNU ELPA - inf-ruby

inf-ruby

Description
Run a Ruby process in a buffer
Latest
inf-ruby-2.8.1.tar (.sig), 2024-Mar-31, 70.0 KiB
Maintainer
Dmitry Gutov <dmitry@gutov.dev>
Atom feed
inf-ruby.xml
Website
http://github.com/nonsequitur/inf-ruby
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

inf-ruby provides a REPL buffer connected to a Ruby subprocess.

If you're installing manually, you'll need to:
* drop the file somewhere on your load path (perhaps ~/.emacs.d)
* Add the following lines to your .emacs file:

   (autoload 'inf-ruby "inf-ruby" "Run an inferior Ruby process" t)
   (add-hook 'ruby-mode-hook 'inf-ruby-minor-mode)

Or, for enh-ruby-mode:

   (add-hook 'enh-ruby-mode-hook 'inf-ruby-minor-mode)

Installation via ELPA interface does the above for you
automatically.

Additionally, consider adding

   (add-hook 'compilation-filter-hook 'inf-ruby-auto-enter)

to your init file to automatically switch from common Ruby compilation
modes to interact with a debugger.

To call `inf-ruby-console-auto' more easily, you can, for example,
replace the original `inf-ruby' binding:

  (eval-after-load 'inf-ruby
    '(define-key inf-ruby-minor-mode-map
       (kbd "C-c C-s") 'inf-ruby-console-auto))

Old versions

inf-ruby-2.8.0.tar.lz2023-Oct-0214.6 KiB
inf-ruby-2.7.0.tar.lz2023-Jan-1214.0 KiB
inf-ruby-2.6.2.tar.lz2022-Aug-1113.9 KiB
inf-ruby-2.6.1.tar.lz2022-Jul-1013.7 KiB