FYI: jruby rubygems problem

View: New views
4 Messages — Rating Filter:   Alert me  

FYI: jruby rubygems problem

by jacoulter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am unable to run rubygems from Netbeans 6.0.1 (from Ubuntu repository) or 6.1 (from Netbeans.org) on Ubuntu 8.0.4 when using the jruby that comes with the Netbeans packages - I get two "Out of memory" errors when it searches for updates.

I did try to increase the java memory heap size to 1024, but there was no change.

It took me a while but I figured out how to point Netbeans at the Ubuntu ruby 1.8 platform and its gem repository.  Now everything seems to work okay.

I did try the Netbeans 6.5beta package and gems would update but when I tried to install Rails I got a bunch of rake failed to fetch errors so that's a different problem.

Just an fyi in case anybody else comes looking here for the same problem.

Re: FYI: jruby rubygems problem

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is not a NetBeans bug but a known JRuby bug.

For more info: http://wiki.netbeans.org/RubyFAQ#section-RubyFAQ-RubyGems

jacoulter wrote:

> Hi,
>
> I am unable to run rubygems from Netbeans 6.0.1 (from Ubuntu repository) or
> 6.1 (from Netbeans.org) on Ubuntu 8.0.4 when using the jruby that comes with
> the Netbeans packages - I get two "Out of memory" errors when it searches
> for updates.
>
> I did try to increase the java memory heap size to 1024, but there was no
> change.
>
> It took me a while but I figured out how to point Netbeans at the Ubuntu
> ruby 1.8 platform and its gem repository.  Now everything seems to work
> okay.
>
> I did try the Netbeans 6.5beta package and gems would update but when I
> tried to install Rails I got a bunch of rake failed to fetch errors so
> that's a different problem.
>
> Just an fyi in case anybody else comes looking here for the same problem.
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: FYI: jruby rubygems problem

by jacoulter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, I saw that and tried upgrading to JRuby 1.1.3 but got the same out of memory error.

Chris Kutler wrote:
This is not a NetBeans bug but a known JRuby bug.

For more info: http://wiki.netbeans.org/RubyFAQ#section-RubyFAQ-RubyGems

jacoulter wrote:
> Hi,
>
> I am unable to run rubygems from Netbeans 6.0.1 (from Ubuntu repository) or
> 6.1 (from Netbeans.org) on Ubuntu 8.0.4 when using the jruby that comes with
> the Netbeans packages - I get two "Out of memory" errors when it searches
> for updates.
>
> I did try to increase the java memory heap size to 1024, but there was no
> change.
>
> It took me a while but I figured out how to point Netbeans at the Ubuntu
> ruby 1.8 platform and its gem repository.  Now everything seems to work
> okay.
>
> I did try the Netbeans 6.5beta package and gems would update but when I
> tried to install Rails I got a bunch of rake failed to fetch errors so
> that's a different problem.
>
> Just an fyi in case anybody else comes looking here for the same problem.
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org

Re: FYI: jruby rubygems problem

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

jacoulter wrote:
> Hi,
>
> I am unable to run rubygems from Netbeans 6.0.1 (from Ubuntu repository) or
> 6.1 (from Netbeans.org) on Ubuntu 8.0.4 when using the jruby that comes with
> the Netbeans packages - I get two "Out of memory" errors when it searches
> for updates.
>
> I did try to increase the java memory heap size to 1024, but there was no
> change.

This really seems to be JRuby bug - the OOME one. Are you getting OOME
also with JRuby 1.1.4 - i.e. you've installed JRuby 1.1.4 and than add
it as a platform to the platform manager and point your project in the
project's properties to use it?

> I did try the Netbeans 6.5beta package and gems would update but when I
> tried to install Rails I got a bunch of rake failed to fetch errors so
> that's a different problem.

Could you try latest NetBeans 6.5 dev build[1]:

http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-HowDoIGetTheContinuousBuilds

        m.

[1] it is now actually NetBeans.next (e.g. 7.0), but it still really
close to 6.5 final. I'm looking where to get *latest* 6.5, since 6.5beta
is obsolete.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...