What's a good Ruby development environment for the Mac? [closed] - ruby

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I used to develop Java on the mac and it worked out well, combo of just using the terminal and IntelliJ. What are good tools that run on the mac for doing Ruby development

Most of the Rails people develop on Macs and use TextMate. As a result, TextMate has great support for Ruby and Rails, and is probably the best text editor to use for developing Ruby code on the Mac.

Netbeans is a fantastic choice with lots of good features for debugging, refactoring, db browsing, source control and lots more.

I use emacs, which has a fine ruby mode.

I'll second/third the Textmate recommendation. Calling it a text editor is doing a bit of disservice. Start off with this PDF that has some useful ruby/rails textmate shortcuts

TextMate is an excellent editor, and is probably the best editor for Ruby code, as mipadi said. For an open source alternative, you could also try Smultron. It's a bit rough around the edges, but it does the job quite nicely.

I love TextMate although have been flirting with NetBeans. If you like a full-featured (aka bloated) IDE, give it a try. Pretty nice:
http://wiki.netbeans.org/Ruby

JetBrains (the people behind IntelliJ) are working on an IDE specifically for Ruby on Rails: RubyMine.

if you like vim, adding onto it with fuzzyfilefinder (http://github.com/jamis/fuzzy_file_finder/tree/master) and rails.vim (http://www.vim.org/scripts/script.php?script_id=1567) plugins provides a really nice experience.
if you don't like vim, textmate is a decent text editor.

You have used IntelliJ already? You should probably take a look at the Ruby/Rails integration. It supports things like debugging, code analysis and refactorings, etc.

TextMate is my favorite, but if you want code completion NetBeans is the best choice (Aptana/RedRails is outdated). Nightly builds of NB has a lot nicer OSX look and feel.

If you're coming from *nix and you like Vim, then MacVim.
If you're coming from any other OS and/or you don't like Vim, then TextMate.
TextMate is not free, but it's well worth the €39. Trust me on this. It will pay for itself many, many times over.

MacVim or AquaEmacs are really the best choice for people developing on Mac who want to get the most out of their editor: for people less particular, Textmate is the way to go.
I always recommend VIM/Emacs to anyone because
They are not GUI based, which means everything they do is easily modifiable and scriptable
They are much more easily extendable
You can use them on a server
They are generally faster as there is less code in between you and the underlying operating system
They usually support more languages and varied development styles
They are much more transparent and understandable as to what they are doing
By necessity everything is accomplishable via a keyboard shortcut, so developing on them is faster

Sublime Text 2, as recommended by a colleague (I don't have personal experience with it).

Related

Mac OSX HTML5&CSS3 Text Editor [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am searching an HTML5 & CSS3 text editor for Mac OS X. What would you suggest?
Please give a short description as well as some information about pricing (free? commercial? trial?).
By the way, I am aware that there is the ability to take WineBottler/Wine to make certain Windows applications work in OS X. If you definitely know that a certain Windows HTML5 & CSS3 editor works in Mac OS X and it is worth it, please mention it.
Thank you!
Coda, BBEdit, and TextMate are--in my opinion--the most popular text editors for web development. TextMate has a 30-day free trial and is $57 USD. Coda is $99 USD and does not have a free trial (to my knowledge). And BBEdit is $99 USD and has a free trial (don't know how long it is).
For a free text editor, you can use TextWrangler from the same people who made BBEdit.
My personal preference is Vim / MacVim; but learning the Vim language is probably overkill if you're just doing just HTML / CSS. I would recommend trying out all of these and seeing what you like the most.
EDIT: A final note, everything I listed here is highly extensible and if there is a feature you like in one, it has most likely been ported to one or more of the other editors as well. Keep this in mind, because you shouldn't immediately dismiss any particular editor for what it offers as a default install.
If you're really particular about your editor (which you should be, as it's the single most important tool in your arsenal) then you should also look at available plugins for each code editor to get a true picture of what they can and cannot do.
I realise it might be overkill, but I really like using NetBeans for Javascript / HTML5 stuff. The JS completion is really helpful and it handles things like Canvas 2D API methods.
One drawback is that it doesn't seem to support CSS3.
I also recommend Textmate, if you willing to spend money. Its very comfortable to code html/css/js.
Personally I code in jEdit or Eclipse. They're crossplatform compatible and opensource.
edit: both provide tons of plugins :)
I like Aptana Studio. If you take the time to configure it's preferences it's a powerful editor.

For what reasons you DON'T use Emacs? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
On the Emacs development list there is long thread (you can find it here) about the "Emacs learning curve" (this is the name of the thread). The participants have various opinions about why some people may not want to use Emacs. If you gave an Emacs a try in the past and then chose an other editor/IDE instead then please describe in your answer here the reasons which made you look for an other tool.
Your answers can give some real world input to the developers on how Emacs should be changed, so that new users can discover its powers and don't give up trying. Thanks.
Because VI is installed on the servers by default, emacs isn't.
I once tried emacs, but I was already pretty familiar with vim, so I didn't really have any incentive to get good at emacs. That's the only reason for me, really.
I tried Emacs for a while and then Vim, and decided to stay with Vim. The reason was that in Emacs you constantly had to use Shift/Ctrl/Alt which was uncomfortable, compared to Vim.
As a novice programmer, I just find vim's use of modes more appealing than the keyboard combinations used in Emacs.
The effectiveness of Autocomplete/Intellisense is very dependent on the language. For instance, with C, I find the autocomplete in Visual Studio, which I use whenever I code in Windows, nearly useless. For languages like C, Perl, Python and the like, I use Emacs.
However, Emacs seems very counterproductive for something like C# or Java because it lacks the extremely useful built-in documentation* and autocomplete functionality of Eclipse and Visual Studio. I know that it has a rudimentary autocomplete for some modes, and very many Emacs Lisp packages available, but I haven't found anything that even comes close to Eclipse or Visual Studio.
*(not counting man pages! I mean something like where Visual Studio puts tooltips with documentation over members, etc.)
Ah, the fresh smell of flame bait.
I like my tools to be as invisible as possible. I am most productive when I can spend all of my time thinking about my problem and not my text editor.
I gave emacs an honest try, but ultimately found other tools to be better for me. I just never found it to be intuitive.
can't stand the whole two sets of key combinations for a command thing in any editor I have seen it in. I tried really really hard to like emacs, but I couldn't get over that. now I use vim, and still wish that emacs wasn't so painful (physically and figeratively) to use
I love emacs and use it every day, but for Java development I usually use Eclipse. I've tried to set up the emacs Java Development Environment and it wasn't able to handle parsing the newer syntax features (annotations, generics) that I use regularly.
For emacs macro recording/playback tasks, I'll open the Java code in emacs, edit and then switch back to Eclipse.
Here are some of the features I can't live without now, which are found in Eclipse with keyboard shortcuts but not available to me in emacs:
Context-sensitive auto-complete.
Fuzzy search for a class name and open the source. Searching by initials for CamelCaseClasses is wonderful.
Who overrides this method?
Who calls this method?
Run or debug just this unit test (just this method).
Warn me about unused imports, deprecated methods, etc.
Hover over a declaration to preview the HTML version of the javadoc.
Reorganize imports, e.g. change import java.util.* to a bunch of imports for just the classes I actually use.
Redeploy this webapp in Tomcat (automatic when you save a file via this plugin)
Top reasons I open emacs:
Record editing macros for complex but repetitive editing.
Edit remote files via tramp.
Edit files when I don't have an Eclipse project defined.
This might sound silly, but I didn't like the font rendering and didn't feel like customizing it.
Second reason is that I thought it was the ugliest program period. It'll give MSBOB a run for its money

PC equivalent of Coda? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Can any one recommend a good all-in-one web development tool for Windows.
Something on par with Coda, which is only available for Mac OS X?
I have not used Coda by myself, but believe that whatever it has, you can find in Sublime Text 2 as well, check it out. For remote files access, you can use an utility like ExpanDrive that mounts remote drive as local disk.
I love Komodo Edit. I recommend that you try it.
I Tried NotePad++
And it is in fact very cool, However,
it crashes from time to time and it can delete your work! :O,
sadly i haven't found anything like CODA for the PC
so i'm staying with the mac
i think you can use notepad++ with ftp_synchronize plug-in so you can remotely edit files on server ;)
As far as I can tell, nothing gets close to Coda on mac. It's pretty sad.
I love Coda and use it professionally every day. However, I'm going to check out Aptana Studio and Komodo IDE on the PC---they both look like they could be very good.
Note that Coda is not free (download, $99), so the answer presumably shouldn't be limited to free PC software in order to compare apples to apples (pun intended).
Cheers!
I used PHPed myself, the best for me
I've looked and NetBeans 7.x is about as close as I've found. Coda is much more than an editor...it does Subversion, has an excellent built-in CSS editor, and allows really elegant local development and publish-to-host workflow. Even NetBeans is only local or remote, but can't deal with both in one project. However, NetBeans' MySQL integration is very handy.
Isn't Coda just a text editor? For Windows there is notepad++.
I use KomodoEdit and it does not even compare to Coda. Coding on a Mac is a lot different as you can have a built in terminal. A windows equivalent would have to have a plugin for putty or something similar.

What IDE / Editor do you use for Ruby on Linux? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I've been using vim, but after reading this question was wondering what is being used in the linux world.
There's also Netbeans: http://ruby.netbeans.org/
If you'd rather be using a light text editor instead of a heavy IDE, then I'd highly recommend going with GEdit with some additional plugins.
Here's an excellent guide on how to turn your GEdit into a "Linux Textmate":
Pimp My GEdit
If you want more of a IDE, then Netbeans is the current benchmark for Ruby IDEs.
I have used and really like Ruby Mine from JetBrains. It's been around since around 2008, here's the link for that: http://www.jetbrains.com/ruby/index.html
I use Diakonos. Written in Ruby, you can script it with Ruby, and manipulate text with Ruby. No dependencies (except Ruby itself).
I use Eclipse with Aptana RadRails: http://aptana.com/rails
but if you need only Ruby you can use RDT instead: http://rubyeclipse.sourceforge.net/
I'm surprised no one has mentioned jEdit - it has a whole slew of plugins for Ruby, and unlike many other editors with Ruby support, it is very stable. There are edit modes + syntax coloration for erb, rb, javascript, haml, etc. etc. I have it set up basically to mimic TextMate, with some Eclipse-isms. It doesn't do code completion to the nines, but it does at least try to complete from the current buffer. It also has very extensible key stroke configurations and the ability to record/playback macros.
I'm assuming you be using Ruby for the web? Aptana IDE with the RADRails plugin would have to be the best choice.
I really like using Geany for ruby and rails work.
I wouldn't affirm an IDE is better than other. Everyone has its pros an cons.
When I'm lazy I'd use Netbeans because it's comprehensive. An overkill in computer resources, but usefull if you are learning.
I've had bad comments about Aptana... maybe some of you that recommend this may have to convince me otherwise.
GEdit + Rails plugin may be a good alternative. And VIM is awfully powerfull but the learning curve is steeper (but once you get the taste of it, productivity will increase for sure).
It all depends on what you want.
I personally use vim as an editor as the default ruby tools as the rest of my IDE.
If you are looking for a more "heavyweight" IDE look at Eclipse (http://rubyeclipse.sourceforge.net/) or netbeans (Google for link).
There are a number of in-the-middle options which behave differently and have different features. Google is your best best when it comes to these.
Also - please see Ruby and linux, preferred setup?
and https://stackoverflow.com/questions/59968/best-editor-for-ruby
If I could close this question for being a dupe - I would.
komodo Edit is the best choice.

What Ruby IDE do you prefer? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions.
I've been using Eclipse with RDT (not RadRails) a lot lately, and I'm quite happy with it, but I'm wondering if you guys know any decent alternatives. I know NetBeans also supports Ruby these days, but I'm not sure what it has to offer over Eclipse.
Please, list any features you think are brilliant or useful when suggesting an IDE, makes it easier to compare.
Also, I said Ruby, not Rails. While Rails support is a plus, I prefer things to be none Rails-centric. It should also be available on Linux and optionally Solaris.
RubyMine from JetBrains. (Also available as a plugin to IntelliJ IDEA)
Have you tried Aptana? It's based on Eclipse and they have a sweet Rails plugin.
Redcar has been getting some attention lately, as well. Still early in its life, but it shows promise.
On Mac OS X, TextMate is a godsend.
The latest Netbeans IDE (6.1) has a pretty solid Ruby support.
You can check it out here.
Once I found Geany (Ubuntu), I switched from TextMate (OSX) and never looked back.
Geany is a lean, clean, speedy IDE that can be used either as a text editor or a light-weight IDE. It supports not only text editing features (syntax highlighting, code folding, auto-completion, auto-closing, symbol lists, code navigation, directory tree, multi-tabbed open files etc.) but also normal IDE features such as simple project management, compile-build-run within the main window. Unlike TextMate, it has a Terminal screen within its own window; you do not have to go back and force between your editor window and terminal window. Unlike TextMate, it supports international languages. Unlike TextMate, it supports multi-platforms, Unlike TextMate, it is open-source and free. Geany is now my favorite C/Ruby/XML development tool.
RubyMine is so awesome. Everything just works. I could go on and on. Code completion is fast, smooth, and accurate. Formatting is instantaneous. Project navigation is easy and without struggle. You can pop open any file with a few keystrokes. You don't even need to keep the project tree open, but it's there if you want. You can configure just about any aspect of it to behave exactly how you want.
NetBeans, Eclipse, and RubyMine all have more or less the same set of features. However, RubyMine is just so much more cleanly designed and easy to use. There's nothing awkward or clunky about it. There are all these nice little design touches that show how JetBrains really put thought into it instead of just amassing a big pile of features.
Incidentally RubyMine can do a lot of the things that Vim can do like select and edit a column of text or split the view into several editing panels with different files in them.
NetBeans has some really solid Ruby support.
I have used Komodo and it's pretty good. I use TextMate now.
For very simple Linux support if you like TextMate, try just gedit loaded with the right plugins. Easy to set up and really customizable, I use it for just about everything. There's also a lot of talk about emacs plugins if you're already using that normally.
Gedit: How to set up like TextMate
In last 3 months, I have tried RadRails, Netbeans and RubyMine and finally settled on RubyMine not so much for features but for responsiveness and stability reasons.
In terms of features, RubyMine has slightly better code completion, debugging and code navigation, but only ruby beginners(like myself) need them most. Relying on code completion and code navigation is anti-ruby/rails, as ruby/rails names are supposed to be natural and each line of code needs to be in its convention determined location.
NetBeans is good because you can use it on Windows and Mac OS X.
Most IDEs present the project structure in a top down manner. This is great way to explore at a high level when joining an existing project. However, after working on the same project for more than a year, I realized that this approach can become counter-productive.
After Oracle declared the end of Ruby in NetBeans, I switched to Vim. By using a command line and an editor as the only tools, I was forced to mentally switch to a bottom-up perspective. To my amazement, I discovered that this made me more focused and productive. As a bonus, I got first class HAML and SASS syntax support.
I recommend Vim + Rails plugin for anyone that will work on a single project for an extended period of time.
While TextMate is not an IDE in the classical sense, try the following in terminal to be 'wowed'
cd 'your-shiny-ruby-project'
mate .
It'll spawn up TextMate and the project drawer will list the contents of your project. Pretty awesome if you ask me.
Aptana more or less is RadRails, or it's based on it. I've used it, and it's really good, but it does have some problems. For instance, it breaks the basic search dialog on my system (giving a raw java exception to the end user), and it clutters the interface with add like notices and upgrade bars and news feeds and...
But all in all it's pretty good, especially its editors (ERB, HTML/XML, ...) are top notch.
I prefer TextMate on OS X. But Netbeans (multi-platform) is coming along quite nicely. Plus it comes with its IDE fully functional debugger.
Textmate on osx
I started out using gEdit (ubuntu user), but even with all the plugins and modifications (class/file browser, terminal, darkmate scheme, etc, etc) it still always seemed to come up short. I've also tried like hell to get Aptana RadRails and Studio to work, but none of them ever really seemed to sync up with my workflow. I've even tried using Eclipse, but again, it just didn't work for me.
RubyMine also seemed like it would be great, but I found it to be way too buggy, even after the upgrade to 3.0.
So far, my favorite Ruby editor is Komodo Edit. It's got syntax highlighting and can detect errors and recognize your code based on user-specified ruby versions. Syntax highlighting schema are easily customizable and easy on the eyes. There are some very nice plugins for git, it can have split-screen editors (love that feature), and a great file-browser. I really wish Komodo had built-in terminal (multiple terminal) support, but everything else about it I've really come to love, and haven't found anything better yet.
E Text Editor is great (TextMate compatible sort-of-clone for Windows).
emacs with ruby-mode, rdebug and a ruby interactive inferior shell.
I'd recommend NetBeans 6.1 too. Very nice IDE and makes working with Ruby a pleasure.
I started out with RadRails then moved to Aptana when they took it over, wasn't too bad. Got a macbook and have been using Textmate, never going back.
Ruby in Steel: http://www.sapphiresteel.com/Products/Ruby-In-Steel/Ruby-In-Steel-Developer-Overview
A Visual Studio based Ruby IDE. Fast Debugger. Intellisense.
+1 for TextMate on Mac OS X.
See also answers to this question. I recommend trying NetBeans if you're on Windows.
On Mac OS there is also XCode. http://developer.apple.com/tools/developonrailsleopard.html

Resources