« listopad 2009
PoÚtStČtSoNe
      
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
      
Today

Navigation

Speaker Profile
Roumen's Weblog
Login
Sun Bloggers
Technorati Profile

Am I popular?

Today's Page Hits: 509

Contacts

Name: Roman Strobl
E-mail: roman dot strobl
at sun dot com

NetBeans

Java Sites

Javalobby
The Server Side
Java Tips
Java Blogs
java.net
java.sun.com
java.cz

Blogs

NetBeans:
Geertjan
Brian Leonard
Gregg Sporar
Lukas Hasik
Ludovic Champenois
Vincent Brabant
Alexis Moussine-Pouchkine
Jullion-Ceccarelli
Tom Ball
Tim Boudreau
Jesse Glick
Petr Blaha
Ruth Kusterer
Jara Uhrik
xzajo
Jan Lahoda
James Branam
nbextras.org

Sun:
Kazem - bug cartoons ;-)
Tor Norbye
Romain Guy
James Gosling
Chief Gaming Officer
Bill Vass
Jim Grisanzio
Jonathan Schwartz

Planets:
Planet Netbeans
Planet Sun
Planet Eclipse

Other:
netbeans-blog.org
Joel Spolsky
Bruce Eckel

License info

Creative Commons License
This work is licensed under a Creative Commons License.

Recent Entries

Map of visits

Locations of visitors to this page
« GWT4NB Project Now... | Main | NetBeans Used to... »
20070323 Pátek březen 23, 2007
NetBeans Quick Tip #32 - Faster and More Stable Ruby Support

Here's a quick tip for those who use Ruby support in NetBeans. By default NetBeans uses bundled JRuby. It currently comes in version 0.9.8 and there can be some issues when running more complex applications because JRuby is not 100% compatible with native Ruby yet. Also when you use Rails, new JVM is started each time you use a generate command with JRuby, which is pretty slow. Tor promised this be fixed in the future, however there is a solution now available.

If you want better performance and stability you can switch from default JRuby to native Ruby. Just install Ruby (which you probably have anyway) and set the Ruby binaries inside NetBeans to the Ruby ones instead of JRuby.


The drawback of course is that you're using Ruby so you can't take advantages of some of the features of JRuby (calling Java code from Ruby and vice versa). But if you don't need that, Ruby can be a better option for you - at least at this very moment when JRuby is not in final version yet.
Comments:

Hi Roumen

Would you be able to bullet point what all the advantages of using JRuby when using Netbeans for Ruby/Rails development (i.e. assuming target hosting environment is still Ruby) please? I thought I read debugging support in Netbeans was one area?

Thanks
Greg

Posted by GregH on březen 23, 2007 at 08:26 odp. CET #

Post a Comment:

Comments are closed for this entry.


    Disclaimer: The contents of my blog represent my personal opinions which may differ from official views of my employer, Sun Microsystems.