I'd like to know which gedit plugins I could install to make programming for Ruby and Ruby on Rails easier?
Asked
Active
Viewed 7,148 times
8
irrational John
- 5,197
- 3
- 23
- 54
vhbsouza
- 448
- 1
- 5
- 10
2 Answers
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.
Juan Sebastian Totero
- 850
- 7
- 16
-
Thank You! The autoindenting feature doesn't work! #fail – vhbsouza Jun 21 '11 at 01: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
-
2Auto 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...
J-_-L
- 219
- 3
- 8
-
...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. – ckhatton Mar 07 '13 at 16:34