New Ruby on Rails Application Wizard: Name and Location
See Also
In this panel of the New Ruby on Rails Application wizard, you set the name of the project and can change its default location. You can also make choices concerning the database to use, whether or not to use Rake, and which Ruby interpreter to use.
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 on Rails Application.
- Clicking the Next button will take you a wizard panel that enables you to install or update Rails and to install OpenSSL support. Clicking the Finish button creates the project without using these options. If you have ever installed OpenSSL support, you do not need to do so again.
The panel displays the following 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.
- Database. Specifies the database you will use with the project. If you want use a database other than one of those on the list, choose Other (JDBC). When the project starts up, your
database.yml
file automatically opens so you can edit it.
- If Using JRuby. The following two options are useful only if you are using JRuby.
- 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/ruby1/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
- Using Database Servers With JRuby
Legal Notices