what is the best IDE for developing Ruby on rails project for a website on Linux based platform ? i also need to devrlop the front end . i am using mongodb for database.
NetBeans is pretty good.
Vim with the rails.vim and snipMate scripts :)
Personally I just use a Sublime Text Editer that makes most easy for our code development....
Sublime Text is a sophisticated text editor for code, markup and prose.
features
slick user interface
extraordinary features
amazing performance
no need to install (Portable)
more info : www.sublimetext.com
Personally I just use a text editor, but I've heard good things from other developers about RubyMine.
I'd recommend Komodo Edit http://www.activestate.com/komodo-edit
I've used it for several Rails projects now. It's a nice text editor with good project browsing and a few convenience features. Works on Mac, Windows and Linux, so is nice and portable.
I tried the pay version, but found it to be overkill.
If you want to go lightweight, vim + rails.vim is an awesome combo.
If you want a heavier IDE, check out RubyMine. I've been using it for about 5 months now, and it's really quite excellent - I'm not normally an IDE guy, but it's got enough nice features that I've stuck with it.
https://github.com/danlucraft/redcar
I suggest you avoid finding some bloated memory hog of an IDE. You don't get much benefit from them in dynamically typed languages. If you want syntax highlighting, indentation, easy project navigation, etc, just use vim with rails.vim, as jrdioko suggested. You'll be impressed with many of its features and it's super lightweight.
It's not an IDE, but I really rate using Gedit with the Gmate plugin
Try out RubyMine 6. It is amazing.
It has pretty good features for specially Ruby on Rails.
Download Aptana's RadRails -- http://www.aptana.com/products/radrails/download.html
Related
I´m having a hard time configuring NetBeans for Rails3 in Windows. I got a lot of problems, many o then reported even here.
So my question is: which of the following IDEs are best situated for Rails3 in a Windows Box right now:
RubyMine
Komodo IDE
RadRails
Look, i dont want to start a discussion (kinda x vs y). I just want to know from people who already are developing in Rails3 with Windows what is the better choice in the long run.
Thanks!
EDIT
Issues with NetBeans
Issue 1
Issue 2
Note: Im using RubyMine by now and facing no problems
I'm using
RubyMine.
You can try it for free for 30 days. Before my time with RubyMine, I've used NetBeans for Rails too. But I have to say RubyMine is the money worth.
I like Redcar. Very beautiful IDE, similar TextMate
When I develop Rails on Windows, I use Aptana RadRails or Aptana Studio (pretty much the same thing). They are a little bit heavyweight, but I like the Eclipse interface in general. It often does better at syntax highlighting and autocorrecting than TextMate and has vastly better keyboard shortcuts. The TextMate/Mac fanboys are probably going to come after me for saying that. If you have plenty of memory to spare, Aptana is the way to go.
I use RubyMine, but their Java IDE has a free community edition with a Ruby plugin, which does have of what RubyMine does, FWIW.
Though to be honest, you will probably get a lot of responses saying no IDE... VIM, Emacs etc...
Aptana looks good. But I think RadRails supports only Rails 2. Aptana studio 3 Beta has a full fledged Rails 3 interface.
Also Aptana solves many RoR installation issues in Windows (which can get very messy) . So I think aptana is the way to go
I like RubyMine, as it's pretty fast and does a great job.
I wrote up a brief description of some popular editors as a part of my P2PU course. Scroll to "Choosing a Programmer's Editor" on the week 1 curriculum.
Starting with an IDE can definitely get you started, especially one like RubyMine since it's mostly cross platform.
However, learning an editor like Vim or Emacs has other benefits like being able to be completely cross-platform. More importantly, they're lightweight both in disk space and in memory usage. While using an IDE might assist in you learning a language (because you get syntax completion, documentation, etc), learning an editor can lead to the kind of power usage that one using an IDE can only dream of (but it will take a while to get to that point on something like Vim or Emacs).
e-texteditor would be a good choice.
Has anybody figured out a way to make the Netbeans intellisense for ruby and rails better? It either has too many options in the list (which I understand is a problem since it is a dynamic language). Or it has no options in the list, as if it is not dynamic enough to find everything.
Are there any hacks to make it better, or is this just something that needs to be improved within the Netbeans source code? I'm currently using 6.8.
Please spare me the posts about how I don't really need to use intellisense, and I should use vim or emacs. I'm sure the vim programmers are 10 times more productive than me with all their cool shortcuts, but I have no desire to learn these tools.
if you click on options, in tools and select options.
Then go to miscellaneous tab, and select ruby.
enable extended type interface (may be slow)
check on for methods.
I tried doing this it is giving me better intellisense with methods like p, and protected methods as well.
I am using netbeans 6.8 and I suppose this would offer you better intellisense.
I'm with you on intellisense. If you're on a Mac, you might try Coda from Panic. It has better intellisense than either RadRails or Netbeans for Ruby/Rails IMHO.
Sadly you just have to wait. I read that Oracle is now focusing NB on scripting languages, and there were plans afoot to add most of what you are talking about to 6.9.
You can check out the nightly builds here: http://bits.netbeans.org/download/trunk/nightly/latest/
They've already hit milestone 1.
It has to be improved by the Netbeans team. There's nothing you can really do to help it.
[edit: oh, and you can have code completion with Vim, so .. You should use Vim! :p]
There's been improvements in 6.8, but it's still far from perfect, and you mentionned you are already using 6.8.
You might want to try RadRails - can't tell you if their code completion is better though (I'm a NetBeans user), but I seem to recall reading it was.
I haven't gotten to play with Ruby and Ruby on Rails in NetBeans 6.9, but one of the features touted by the Release Notes was improved code completion in dynamic languages (Ruby, Ruby on Rails, and Python). You might want to consider upgrading (if you haven't already) and checking it out.
It appears that NetBeans and Aptana/RadRails are the most common adopted IDE's for Ruby on Rails development, but both needs the Java Runtime Environment to run.
I'm looking for an IDE wich doesn't need JRE to run. If it is lightweight and installs very fast would be better, because I will be programming in computers with old hardware and Windows XP.
Do you know any? Thanks a lot.
Maybe E?
I am a big fan of SciTE and the command line.
Actually I would say that Vim paired with rails.vim is amongst the most popular editors for Rails. Vim, gVim and Cream are all available for Windows.
Learning curve is massively steep, but its worth it.
Also, if you are doing any serious Rails work, development on Windows sucks. It takes way too long to spin up a script/console or a web. Tooling is much better on Linux. When I'm doing Rails work on my Windows box I do it on an Ubuntu VM.
Komodo Edit is one of the best IDEs I've ever used, and it has Rails support (although maybe not as good as Aptana/RadRails). If you have money to spare, I'd highly recommend Komodo IDE, as it has some great extra features, but if not, Komodo Edit has everything you need. As for speed, it's slow to start up but after that it's as fast as any other "lightweight" editor you've used.
What about the editor that comes with ruby-one-click for windows? Would it work? (the one written in ruby).
There is also gvim or vim if you are feeling adventurous.
JetBrains RubyMine
I did not use this program, but "System Requirements" did not indicate requirements for Java Runtime Environment in Windows version.
I would like to use Kdevelep as a Ruby on Rails IDE as I'm using Linux. How do I set up Kdevelop to enable this?
You could use Kdevelop or Kate, although I don't know that there is a big community of support for these editors. If you are on Linux you are best to check out VIM, it's the 2nd most popular editor for Ruby/Rails (with Textmate being #1).
There is a really good writeup on how to set-up VIM at:
http://blog.adamlowe.com/2009/12/vim-destroys-all-other-rails-editors.html
If you use VIM with all the various tpope and NerdTree plugins you'll pretty much be set.
"Alexander Dymo put some work into the experimental Ruby language plugin, finally making it useful for himself and hopefully others who are Ruby on Rails developers."
http://dot.kde.org/2010/03/08/kate-kdevelop-and-okteta-developers-meet-berlin
http://adymo.blogspot.com/2010/03/ruby-language-support-in-kdevelop4.html
repo at: gitorious.org then /~adymo/kdevelop/adymo-kdevplatform
I currently use TextMate for all my Rails development, and I like it very much, but I wonder if I'm missing anything by not using an IDE. Has anyone switched from using TextMate or another powerful text editor to a Ruby IDE? Am I missing anything?
JetBrains, the people who created the legendary IDEA IDE for Java, have RubyMine in beta. DHH has mentioned it, so it must be good!
TextMate is king for Development on Mac, it's not too bloated and has so many good bundles made by the developers that use those particular languages. Can't be beat in my opinion.
I think IntelliJ/RubyMine is pretty good because I've been coding Java for a while. There's some feature holes for Rails development, but I expect that Jetbrains will quickly fix those in coming versions.
I just got turned onto Textmate because my laptop is a Powerbook 12" G4. Running IntelliJ is pretty snappy, but it makes the fans run constantly with a volume approaching "airplane engine". Working with Textmate keeps my laptop quiet.
In my opinion textmate is the best IDE if you have a Mac. It is highly customizable and you can pretty much do everything you want with it. Plus a lot of developers are using textmate for rails and therefore creating scripts and features that you can import and use.
I'm using Aptana with radrails when I'm on windows, but it's not as good. Plus you can't customize it as much. The other issue is that since it's based on eclipse it's quite ressource intensive and from my experience it's not as stable as textmate.
Aptana has some cool features, like being able to call script/generate and rake tasks directly from the interface, but this is something I could live without.
Aptana RadRails is one of the best Ruby IDEs out there, with Rails support, HTML editors, etc. It is a plugin for Eclipse, and is also supplied standalone.
I use Netbeans because I like the test support and test coverage features combined with the fact that I can use it for multiple languages & environments. They really try to provide a complete environment but I find I still have to step out to the command line a lot - starting thinking_sphinx, running cucumber, tailing logs etc.. so it is never quite comprehensive. It is also slow as hell on my slow as hell laptop.
I used the eclipse rails plugin for a while and it is also pretty good but Netbeans had a pretty good feature surge for 6.5. that won me over.
If you're on Windows you may want to look at "Ruby in Steel"
I've just found it and have not worked with it much nbut the experience so far is good. So if you use VisualStudio for your job this may be a nice addon to help get Ruby into the same environment.
On a mac it is probably not worth it as TextMate is very optimized for Rails development through bundles. I did use AptanaIDE when I was on Windows though. The main problem here is not the IDE itself but the fact that it is not useable (as in snappy enough) on the machine I had. And strangely enough for a Ruby programmer I believe that a program that makes editing unformatted text feel sluggish on a 1Ghz/Gbyte machine is doing something wrong.
Has anyone switched from using TextMate or another powerful text editor to a Ruby IDE? Am I missing anything?
Yes, I recently switched from Vim to RubyMine. (And I also used TextMate before that.) Personally I think the tradeoff is worthwhile, because of how well designed and well implemented RubyMine is. So the quality of the tool makes up for the heavier footprint.
The things I felt I was "missing" with Vim included well-implemented code completion, open files by typing partial filename, click on a symbol to go to the declaration, and a lot of other stuff.
I really like Komod for Ruby and Python development.