Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.


2 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:

  • Vim Rails by Tim Pope. The :R, :A and gf commands are the ones I use mostly for navigation.
  • NERDTree for a project/explorer view.
  • NERDCommenter for easy multi-line commenting.
  • FuzzyFinder and "FuzzyFinder - Textmate" - allows you to quickly find files based on portins of a file name.
  • Ctags
  • Bufexplorer
  • dbext for executing SQL commands and getting the results in a Vim buffer.
  • Ack and the ack plugin for a better grepping experience from within Vim.
  • VividChalk colour scheme.
like image 163
2 revs, 2 users 55%Cameron McCloud Avatar answered Sep 14 '25 11:09

2 revs, 2 users 55%Cameron McCloud


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.

like image 40
davidhalldor Avatar answered Sep 14 '25 12:09

davidhalldor