New Ruby Application Wizard: Name and Location
See Also
In this panel of the New Ruby Application wizard, you set the name of the project and can change its default location. You can also decide not to make it the main project, and you can choose to either not create a main file or to create one with a default name or a name you choose. When you're done, since this is the last panel, you click Finish to create the project.
You get to this panel by choosing File > New Project, and, in the New Project wizard, selecting the category Ruby and the project type Ruby Application.
The panel displays the following configuration options:
- Project Name. Specifies the name of the project, which is displayed in the Projects window. This name is also used to create the project folder and the context path.
- Project Location. Specifies the location where you want to store the project metadata and source code.
- Project Folder. Specifies the folder where you want to store the project metadata and source code. The folder is a concatenation of the project location and the project name.
- Set as Main Project. Sets the newly created project as the main project in the Projects window.
- Create Main File. Indicates whether or not to create a main file for the Ruby application. You can change default name of this file from
main.rb
.
- Ruby Interpreter: interpreter-name. If you want to use an interpreter other than the one indicated, click Change, then click OK in the message window that lets you know that changing the interpreter affects the entire IDE. The Options window opens with the Ruby options selected. If necessary, select the Platform tab, then click the Browse button next to the Ruby Interpreter field, navigate to the interpreter file in your Ruby or Rails installation, and click the Open button.
- If you are switching back to the JRuby interpreter, the path to the interpreter file is
netbeans-install-dir/ruby2/jruby-version-number/bin/jruby.bat
, where version-number is the version of ruby installed by the IDE, such as 1.1RC1.
- See Also
- Working With NetBeans Ruby
- New Project Wizard
Legal Notices