8

I'd like to know which gedit plugins I could install to make programming for Ruby and Ruby on Rails easier?

17

simply

sudo apt-add-repository ppa:ubuntu-on-rails/ppa
sudo apt-get update
sudo apt-get install gedit-gmate

and activate the plugins you want from options menu. It will activate sintax highlighting for erb files and many snippets for RoR developing.

3
  • Thank You! The autoindenting feature doesn't work! #fail
    – vhbsouza
    Jun 21 '11 at 1:43
  • @Victor, gedit doesn't do anything like auto-indenting for any languages as far as I know. You'd an IDE for that.
    – Oxwivi
    Jun 21 '11 at 10:45
  • 2
    Auto indent won't work, unless you enable Smart Indent plugin in Gedit settings.
    – jnv
    Jun 21 '11 at 12:21
7

Some more hints can be found here: https://rbjl.janlelis.com/22-rubybuntu-4-make-gedit-better-than-any-ide. Some commands for the "external commands" plugin (e.g. "run in irb") can be found in this post: https://rbjl.janlelis.com/23-gedit-external-tools-ruby-helpers-git-integration-and-more

2020 Update: As Crimbo noted, this might be outdated now...

1
  • ...though the post is old now, it needs updating. Some of the plugins aren't in Gedit v3 and the Ruby irb command external tool you supply doesn't keep the terminal open (on Linux) for example. Keep up the good work though - Be great if you could update it.
    – Crimbo
    Mar 7 '13 at 16:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.