I’m very new to Ruby, and currently running through the Ruby Koans to get a better feel for the language. My IDE is NetBeans 6.9.1.
I have created a new Ruby project from existing source, and pointed it to where I installed my Ruby Koan files (C:\rubykoans\koans)
I can successfully run the Koans from the command prompt with the command:
ruby path_to_enlightenment.rb
I have set my project properties in NetBeans to have the following parameters:
Main Script: path_to_enlightenment.rb
Working Directory: C:\rubykoans\koans
(All other options are blank)
When I attempt to run the application, I receive the following error:
path_to_enlightenment.rb class wasn't found in RubyProject1 project.
Below this is a dialog to select the main script, which just says
<No Ruby files found>
My goal is to be able to run the koans from NetBeans, and look at the output window vs. having to work on the projects in NetBeans, and keep a separate command window open and run the project from there.
Any assistance would be greatly appreciated!
I have it running. I set the main script to
I also took the Koans and created an project from existing sources. I had to do nothing else and it ran.