I have not done any serious programming for, oh, about 15 years. I miss it. So I decided to play around with NetBeans and see if I could learn Ruby. I picked Ruby because it seems quite popular and I really like the approach of Rails. (See I know all sorts of things about programming, I just haven't done any myself in forever.)
I'd used NetBeans before, but not recently. I knew that the new and wonderful NetBeans 6.0 came with Ruby support so that seemed like the perfect excuse for me to get started and work my way through some tutorials at least.
I have an old PowerBook G4. So I hit the big Download NetBeans IDE 6.0 button on the front page, picked the Ruby column and got netbeans-6.0-ruby-macosx.dmg, which installed perfectly as far as I could tell. It ran just fine. It even had a Ruby link in the Start page, so I must have done something right.
Or close to it. I cannot remember if the Hello World example in the Getting Started With Ruby and Rails tutorial is what refused to work for me or the Depot Application project that tries to get going if you click on that inviting Ruby link on the Start page, but anyway, I retreated to the Installing and Configuring Ruby Support page pointed to by the Getting Started page.
It says to download and install the version of NetBeans IDE 6.0 that contains Ruby. Ok already, I did that. Then it says if you don't have that, do all this other stuff. I thought I should be able to skip all that other stuff. So I went on to Using Database Servers With JRuby. I got MySQL all set up properly. Then the directions wandered off into the weeds as far as solving my basic problem of getting any Ruby to run in the IDE. Hmmm.
I went back and read that first section that I skipped because it was for IDE 6.0 installations that do not have Ruby support (but I've got it, don't I?). The key bit seems to be Step 5 on that page:
(Optional) Select the JRuby and Rails Distribution checkbox to download and install the JRuby software and the Ruby on Rails framework.
Note: You must have either Ruby or JRuby software installed on your system in order to use the Ruby and Rails distribution. If you do not have this software, you must either install this plugin, or download and install JRuby or Ruby software before working with Ruby projects in the IDE.
In the Plugin Manager, under the Installed tab, it says I have JRuby and Rails Distribution installed. But it is greyed out. Hmmm. Looks like that means I cannot uninstall it, which would be ok, but I'm not sure. And do I really have it installed? and if I do, would that mean that Ruby should run on my machine, at least within the IDE? (My questions to the users@ruby.netbeans.org list have not been answered, so I have no clue.) Is there some other step I need to take to get Ruby and Rails installed on my machine, independent of the IDE?
I figure there must be, since it is not working. So I go on a quest (which took maybe a year) to do that and finally succeed here: http://rubyosx.rubyforge.org/. Bless them.
At last I was able to run the little Depot sample application and it worked, and the Hello World worked also. I went on to other things feeling only slightly discouraged that after all that work, all I'd accomplished was to run the sample application!
