FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

FYI: jruby rubygems problem

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
jacoulter
Posted via mailing list.





PostPosted: Tue Oct 14, 2008 8:09 pm    Post subject: FYI: jruby rubygems problem Reply with quote

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.

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.
--
View this message in context: http://www.nabble.com/FYI%3A-jruby-rubygems-problem-tp19980882p19980882.html
Sent from the NetBeans Ruby Users mailing list archive at Nabble.com.
Back to top
Chris Kutler
Posted via mailing list.





PostPosted: Tue Oct 14, 2008 8:15 pm    Post subject: FYI: jruby rubygems problem Reply with quote

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

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

jacoulter wrote:
Quote:
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.

Back to top
jacoulter
Posted via mailing list.





PostPosted: Tue Oct 14, 2008 9:03 pm    Post subject: FYI: jruby rubygems problem Reply with quote

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


Chris Kutler wrote:
Quote:

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

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

jacoulter wrote:
Quote:
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.









--
View this message in context: http://www.nabble.com/FYI%3A-jruby-rubygems-problem-tp19980882p19982143.html
Sent from the NetBeans Ruby Users mailing list archive at Nabble.com.
Back to top
Martin Krauskopf
Posted via mailing list.





PostPosted: Wed Oct 15, 2008 5:41 am    Post subject: FYI: jruby rubygems problem Reply with quote

jacoulter wrote:
Quote:
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?

Quote:
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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB