Home » Linux » Ruby and linux, preferred setup?

Ruby and linux, preferred setup?

Posted by: admin November 30, 2017 Leave a comment

Questions:

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.

Answers:

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:

Questions:
Answers:

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.

Questions:
Answers:

Setup Gedit to be almost like Textmate

Questions:
Answers:

Aptana with the Rails plugin is pretty good.

Questions:
Answers:

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.

Questions:
Answers:

I prefer Netbeans on both linux and Mac

Questions:
Answers:

+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.

Questions:
Answers:

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

Questions:
Answers:

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/

Questions:
Answers:

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…

Questions:
Answers:

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

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

Questions:
Answers:

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 :).

Questions:
Answers:

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.

Questions:
Answers:

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)

Questions:
Answers:

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.