lang/ruby: major refactor

+ Robe is now to be started manually.
+ Adds more keybindings for robe (including <localleader> ' for
  robe-start).
+ Use ruby-mode if ruby isn't available (e.g. editing ruby files on
  remote systems), enh-ruby-mode otherwise.
+ Added rake, bundler, rvm, rbenv and minitest packages
+ Added $RBENV_ROOT/shims to exec-path. This should fix rbenv support
  for the ruby version display in the modeline.
This commit is contained in:
Henrik Lissner 2018-09-25 22:45:13 -04:00
parent b91a8f0d2f
commit 8bdb42fe15
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 150 additions and 92 deletions

View file

@ -4,18 +4,24 @@
;; requires ruby ruby-lint
(package! enh-ruby-mode)
(package! rubocop)
(package! inf-ruby)
(package! rspec-mode)
(package! yard-mode)
(package! rake)
(package! inf-ruby)
(package! robe)
(package! bundler)
(when (featurep! :completion company)
(package! company-inf-ruby))
;; Project tools
(package! bundler)
(package! rake)
(package! rubocop)
;; Version management
(when (featurep! +rbenv)
(package! rbenv))
(when (featurep! +rvm)
(package! rvm))
;; Testing frameworks
(package! rspec-mode)
(package! minitest)