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 
  

Ruby Gems error dialog img attached

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
ctucker10



Joined: 03 Apr 2009
Posts: 4

PostPosted: Fri Apr 03, 2009 2:31 pm    Post subject: Ruby Gems error dialog img attached Reply with quote

New to ruby and Netbeans. Trying to setup ruby support in Netbeans IDE 6.1 using the instructions at http://www.netbeans.org/kb/docs/ruby/setting-up.html .

My OS is Ubuntu 8.10 running in a virtual machine on a Macbook via Parallels. I installed Netbeans via Synaptic. I ran all of the updates presented on first launch.

When I get to the section titled "Managing Gems" I go to the "Tools" menu and select "Ruby Gems" and the "Updating" status bar churns for several minutes then the attached dialog pops up.

I went to the NetBeans Wiki and found some troubleshooting tips. I ran the following commands from Terminal. Both ran successfully although the the second command took awhile.

Code:
gem list --local --details
gem list --remote --details


Don't know what I need to do to make ruby support in Netbeans work. Can someone help me decipher the error dialog? Any suggestions are appreciated. Thanks.



netbeans-error.png
 Description:
NetBeans IDE 6.1 on Ubuntu 8.10 error dialog
 Filesize:  20.93 KB
 Viewed:  1292 Time(s)

netbeans-error.png


Back to top
View user's profile Send private message
ctucker10



Joined: 03 Apr 2009
Posts: 4

PostPosted: Fri Apr 03, 2009 3:25 pm    Post subject: Reply with quote

I am including the full text of the error message in addition to the image.

In the "Settings" tab, my web browser is set to "Firefox". The "Proxy" setting is the default "Use system proxy settings..."

I tried setting the proxy to "No Proxy" but, no change was realized so I changed it back to the default.

Full text of error dialog follows:

Code:
Nothing found: Network problem? Check NetBeans proxy settings.

Bulk updating Gem source index for: http://gems.rubyforge.orgERROR: While executing gem ... (Gem::RemoteSourceException)  Error fetching remote gem cache: ParserException while scanning a block mapping we had this expected <block end>, but found org.jvyamlb.tokens.ScalarToken
Back to top
View user's profile Send private message
Erno Mononen
Posted via mailing list.





PostPosted: Fri Apr 03, 2009 3:25 pm    Post subject: Ruby Gems error dialog img attached Reply with quote

Hi,

Please try upgrading to 6.5, 6.1 is a bit outdated by now.

Also, for which platform were you trying to update the gems? For the
bundled JRuby or for the same platform you use from the command line? If
the former, might be an issue in the old version of JRuby that is
bundled with 6.1, or rather in the version of the gem tool it comes with.

Cheers,
Erno


ctucker10 wrote:
Quote:
New to ruby and Netbeans. Trying to setup ruby support in Netbeans IDE 6.1 using the instructions at http://www.netbeans.org/kb/docs/ruby/setting-up.html .



My OS is Ubuntu 8.10 running in a virtual machine on a Macbook via Parallels. I installed Netbeans via Synaptic. I ran all of the updates presented on first launch.



When I get to the section titled "Managing Gems" I go to the "Tools" menu and select "Ruby Gems" and the "Updating" status bar churns for several minutes then the attached dialog pops up.



I went to the NetBeans Wiki and found some troubleshooting tips. I ran the following commands from Terminal. Both ran successfully although the the second command took awhile.




Code:
gem list --local --details

gem list --remote --details





Don't know what I need to do to make ruby support in Netbeans work. Can someone help me decipher the error dialog? Any suggestions are appreciated. Thanks.




Attachments:
http://forums.netbeans.org//files/netbeans_error_375.png








Back to top
Hassan Schroeder
Posted via mailing list.





PostPosted: Fri Apr 03, 2009 3:33 pm    Post subject: Ruby Gems error dialog img attached Reply with quote

On Fri, Apr 3, 2009 at 7:31 AM, ctucker10 <address-removed> wrote:

Quote:
My OS is Ubuntu 8.10 running in a virtual machine on a Macbook via Parallels. I installed Netbeans via Synaptic.

That just sounds fraught with potential wierdness :-)

Is there a reason you're not running a current NetBeans release on
your Mac natively?

--
Hassan Schroeder ------------------------ address-removed
Back to top
ctucker10



Joined: 03 Apr 2009
Posts: 4

PostPosted: Fri Apr 03, 2009 6:22 pm    Post subject: Re: Ruby Gems error dialog img attached Reply with quote

Erno Mononen wrote:

Please try upgrading to 6.5, 6.1 is a bit outdated by now.


Updated to 6.5.1. Troubles dissappeared. Thanks.
Back to top
View user's profile Send private message
ctucker10



Joined: 03 Apr 2009
Posts: 4

PostPosted: Fri Apr 03, 2009 6:35 pm    Post subject: Reply with quote

Quote:
Is there a reason you're not running a current NetBeans release on your Mac natively?


I'm trying to learn ruby and mysql and I make a lot of mistakes. Especially when dealing with configuration files. I don't want to compromise my main OS while digging around its innards via the command line. A virtual machine allows me to develop in a sandbox.

I've never really broken Mac OS X while messing around with open source projects. The VM is just a safety precaution.
Back to top
View user's profile Send private message
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