File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ruby and the fly likes JRuby IDE support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "JRuby IDE support" Watch "JRuby IDE support" New topic
Author

JRuby IDE support

Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
Paolo,

What are the IDEs can be used to develop JRuby components. Does your book emphasize on learning JRuby?


SCJP 1.5, SCEA, ICED (287,484,486)
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Ruby is Ruby, whether or not it's JRuby: the same meta-programming techniques apply.

Any IDE that supports Ruby can be used to develop in JRuby; IDEs that also have strong Java support are better for JRuby.
Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
David Newton wrote:Any IDE that supports Ruby can be used to develop in JRuby; IDEs that also have strong Java support are better for JRuby.

That brings another question, what IDE's support Ruby :wink:
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Wouldn't a web search be a lot quicker than waiting for someone to do it for you?

NetBeans, IntelliJ, Eclipse w/ plugin, don't know what else. It also depends on your definition of IDE.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Anil Vupputuri wrote:
David Newton wrote:Any IDE that supports Ruby can be used to develop in JRuby; IDEs that also have strong Java support are better for JRuby.

That brings another question, what IDE's support Ruby :wink:

JetBrains RubyMine is impressive.
Michael Sullivan
Ranch Hand

Joined: Dec 26, 2003
Posts: 235
As mentioned, JetBrains RubyMine and Aptana RadRails (eclipse with Ruby/RoR plugins) are great IDEs. However, I'd recommend trying Ruby (or Rails for that matter) in a text-editor like TextMate instead. Here is a *dated* article describing the pros/cons of using a text-editor vs an IDE.

During my working day, I use eclipse (corporate standard) - though my clear preference would be TextMate, which is what I use exclusively outside of work.
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

How will you use TextMate in Windows? I have used Aptana RadRails (eclipse with Ruby/RoR plugins) successfully.


===Vyas Sanzgiri===
My Blog
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

You can't use TextMate on Windows, it is an application for Mac OS X only.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You can, however, use e, which uses TextMate bundles.
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

David Newton wrote:You can, however, use e, which uses TextMate bundles.


Hi Dave,

I did not understand your reply. Can you please provide a link?
Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
Vyas Sanzgiri wrote:
David Newton wrote:You can, however, use e, which uses TextMate bundles.


Hi Dave,

I did not understand your reply. Can you please provide a link?


Dave is referring to Windows version of TextMate, here is the link.
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Anil Vupputuri wrote:
Vyas Sanzgiri wrote:
David Newton wrote:You can, however, use e, which uses TextMate bundles.


Hi Dave,

I did not understand your reply. Can you please provide a link?


Dave is referring to Windows version of TextMate, here is the link.


Is that recommended over Eclipse and Aptana?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Depends.
Michael Sullivan
Ranch Hand

Joined: Dec 26, 2003
Posts: 235
TextMate, or it's twin-sibling e are both "text-editors", and therefore quite different than a full featured IDE. It's a personal choice at best. I use IDEs all day at work, but greatly prefer the speed and simplicity of a text editor. JMHO
Paolo Perrotta
author
Greenhorn

Joined: Mar 27, 2010
Posts: 27
I come late to the party, just to confirm that RubyMine is really good. I still tend to be a TextMate freak, though. For a number of reasons, IDEs for Ruby are not as essential nor as powerful as IDEs for Java.


Paolo Perrotta, Europe
Author of Metaprogramming Ruby
http://www.pragprog.com/titles/ppmetr/metaprogramming-ruby
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Vim and Emacs are both pretty popular in the Ruby community.


A good workman is known by his tools.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

With Emacs, of course, being the better of the two ;)
Daniel B. Davis
Greenhorn

Joined: May 11, 2013
Posts: 9
David Newton wrote:Ruby is Ruby, whether or not it's JRuby: the same meta-programming techniques apply.

Any IDE that supports Ruby can be used to develop in JRuby; IDEs that also have strong Java support are better for JRuby.


It is nice to see such confidence. Mr. Newton has never tried to get Aptana Studio (a powerful and good standalone IDE or a plug-in for eclipse which supports ruby development) to use jruby. The web has reports of several such tries, including my recent one, with no success so far. Others have reported failure in creating .bat or .cmd files, aliasing or renaming jruby.exe. (I retried renaming with no better success) Those have reported success in creating a c++ bridge, but although I have tried the c++ bridge, it is not working for me. Specifically, the bridge seems to work on the Windows 7 command line, but not in Aptana Studio 3. The error message supplied by Studio 3 is completely non-illuminating, much like IE's "Error Loading Webpage". Any useful information would be welcome.

As to the necessity of IDEs, which is discussed elsewhere in this topic: I agree that they are not essential, but whether one is developing a large system, or just learning, they do save time. The number of things which can be tried in 30 minutes using the right IDE dwarfs that same count using the command line. By accelerating things, sometimes there can be a qualitative change in one's understanding, and that change can fuel a beneficial rearrangement of ideas which are not as easy to arrive at if the same tries are spread over 3 days.
 
 
subject: JRuby IDE support