Reputation: 45
I would like to know the best Emacs plugins for developers using the Ruby on Rails framework.
Upvotes: 3
Views: 2147
Reputation: 678
If you want to have an awesome emacs config you should install these packages:
inf-ruby
projectile
projectile-rails
robe-mode
web-mode
rvm
flymake-ruby
flymake-easy
flymake-css
flymake-sass
flymake-coffee
flymake-haml
flymake-html-validator
haml-mode
yaml-mode
slim-mode
sass-mode
coffee-mode
feature-mode
if you were using vimux you would like to replace projectile and projectile-rails with emacs-rails-reloaded
by the way if you happen to be a vim user then you should checkout spacemacs.spacemacs has predefined configuration layers for html and ruby on rails.
for ruby as well as ruby on rails
bundler
chruby
company
enh-ruby-mode
evil-matchit
flycheck
popwin
rbenv
robe
rspec-mode
rubocop
ruby-mode (should be avaliable by default)
ruby-test-mode
ruby-tools
rvm
smartparens
rake
Upvotes: 5
Reputation: 13115
You may find my 2014 post on configuring emacs as a productive development environment for Rails helpful. It primarily covers projectile, robe and rvm integration.
While both emacs-rails-reloaded and rinari have been somewhat popular at a time, their development has languished. Projectile-rails is maintained much more actively.
In particular my overall experience with helm and projectile has been very good and would strongly recommend in favor of them.
Upvotes: 2
Reputation: 14362
Here are some of the modes you should try:
Rinari - A simple framework for getting around your code, running tests, and managing consoles, web-servers, etc. It's minimalistic and revolves around a series of key-bindings.
Emacs-rails - the grandfather of Emacs RoR modes. It hasn't been updated in a while, and in fact the primary homepage no longer exists. But it's quite powerful and lets you do almost everything.
Emacs-rails-reloaded - This is a re-design of the original emacs-rails. It uses the the great anything mode to help you find things and get around.
Also see this answer.
You can find some other useful stuff here
Upvotes: 0