Sekhat
Sekhat

Reputation: 4489

Ruby and linux, preferred setup?

Mac's have TextMate as there preferred application for ruby development, but what would be the preferred application for linux? I need something where it's easy to work with multiple files, project structure and setup commands to run my ruby app or if it is one my merb app.Syntax highlighting is also a must.

Now I typically use Vim, but it's not the best for working with multiple files or with a project structure, even with VTreeView plug-in or multiple VIM windows.

So what would you guys suggest?

If you have better plugins to use for VIM feel free to mention them, I'm not ruling out VIM here.

Upvotes: 24

Views: 20767

Answers (15)

Eki Eqbal
Eki Eqbal

Reputation: 6057

Why don't you just use Sublime Text 2 Text Editor, it is free and cross platform and lighter than any IDE, and then you can install the SublimeCodeIntel which will provide you with autocomplete features , you can do that through installing Package Control , then

 ⌘+shift+p → “install” → ENTER → “codeintel” → ENTER → Restart ST2

It is working perfectly with me and I'm totally in love with this smart editor .

You can find this helpful somehow if you wanna give it a try , http://www.rockettheme.com/magazine/1319-using-sublime-text-2-for-development

I'm using it with zsh Terminal http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/

Anyways if you are looking for a full IDE give netbeans a try http://netbeans.org/projects/ruby/

Upvotes: 1

xXPhenom22Xx
xXPhenom22Xx

Reputation: 1275

With Linux there are 3 really good IDEs and all are free. You have Eclipse, Netbeans, and Aptana... They are all very good and each have some benfits over the other, its more a matter of preference. I would suggest downloading all 3 and giving them a try to see which you prefer.

Upvotes: 0

jorgeu
jorgeu

Reputation: 689

I have been using GMATE for a while and I can say that I only need gnome-terminal to complete my ruby/groovy/python setup. It have themes imported from textmate and do some method/property code completion (not much ok? but it comes handy).

Edit: forgot to say that GMATE is a set of plugins for Gedit (default text editor on gnome)

Upvotes: 0

Clark
Clark

Reputation: 3013

The other answers are about ruby editors, so I thought I will add an answer on my linux setup.

I use Ubuntu with VM player (free) on top of windows 7. I dedicate 2 core and 2 GB to the vm. Benefit of using the VM on top of windows is that I can use linux just for development and windows for everything else. Skype, webex, and team viewer works in windows, but i find them to be flaky in linux. Also I use office once in a while, very easy on windows.

Upvotes: 0

Cameron McCloud
Cameron McCloud

Reputation:

I use Vim on both Windows and Linux for development in Rails (we have to use Windows in work, and I only use Linux at home). The environment is almost exactly the same for both platforms. Especially important for me is easy navigation between the various Rails components - from Controllers to views, partials and models, and quick navigation to test files.

Here are the plugins I use:

Upvotes: 19

davidhalldor
davidhalldor

Reputation: 305

RubyMine from JetBrains.com works well for Mac/Linux/Windows, the price is 99$ but it's probably the most productive IDE for Ruby and Rails I have tested so far.

Upvotes: 9

Julian H
Julian H

Reputation: 1859

+1 for Netbeans for Rails. Each release gets better and better and with 6.7 beta it's better yet. Using it on Windows and Mac -- under Linux it's what I'd use as well.

Upvotes: 2

craigp
craigp

Reputation: 295

I prefer Netbeans on both linux and Mac

Upvotes: 4

Morph
Morph

Reputation: 1719

Aptana Studio is indeed very nice. Also Gedit does the job if you don't want a full IDE environment and are more inclined to do stuff by hand :).

Upvotes: 0

anshul
anshul

Reputation: 6005

Given that you use vim, this post might be interesting.

Her is the Fuzzyfinder Textmate vim plugin that the post refers to.

Upvotes: 0

André
André

Reputation: 13347

Since you are a vimmer, have you looked at this? I have no experience with it, but looks quite good in the screencast.

Upvotes: 1

Micah
Micah

Reputation: 17828

I prefer Aptana/RadRails on both Mac and Linux. It gives a consistent experience for me no matter what OS I'm on.

I still don't get the excitement over Textmate...

Upvotes: 0

David Nehme
David Nehme

Reputation: 21597

If you are on Ubuntu/Debian, plain old emacs with ruby-elisp package isn't bad. It's no TextMate, but it's not bad.

Upvotes: 4

Adam Lassek
Adam Lassek

Reputation: 35515

Aptana with the Rails plugin is pretty good.

Upvotes: 6

Related Questions