Create a new project
New empty project
This is a basic project intended for pure Ruby programming.
Launch RubyMine.
If the Welcome screen opens, click New Project. Otherwise, from the main menu, select .
From the list on the left, select Empty Project.
Name the new project and change its location if necessary.
In the Ruby SDK field, select the Ruby interpreter that you want to use in your project.
Click Create.
New Ruby Gem
In RubyMine, you can create Ruby gem applications, build, and publish them. This project type provides the necessary infrastructure and artifacts required for creating gems.
Launch RubyMine.
If the Welcome screen opens, click New Project. Otherwise, from the main menu, select .
From the list on the left, select Gem.
Name the new project and change its location if necessary.
In the Ruby SDK field, select the Ruby interpreter that you want to use in your project.
Select the testing framework that you want to use in your project: Minitest or RSpec.
If necessary, select one or several generation options:
Code of conduct: adds a file containing a Code of Conduct to your project.
MIT license: adds a file with an MIT license to your project.
Binary executable: generates a binary executable in your project. RubyMine stores this binary in the exe/GEM_NAME directory and also adds it to the GEM_NAME.gemspec manifest.
C extension boilerplate: adds a boilerplate for C extension code to the generated project.
Click Create.
New Rails project
Rails project types are intended for Ruby-on-Rails development and contain specific infrastructure and necessary artifacts.
Launch RubyMine.
If the Welcome screen opens, click New Project. Otherwise, from the main menu, select .
From the list on the left, select Application in the Rails group.
Name the new project and change its location if necessary.
In the Ruby SDK field, select the Ruby interpreter that you want to use in your project.
In the Rails version field, select a Rails version that you want to use in your project. If the Rails gem is not installed in the selected SDK or the necessary Rails version is missing, click in the field. Wait until RubyMine downloads all available Rails versions and select the necessary one from the dropdown. Click OK to continue.
If the selected version is not installed yet, RubyMine will install it upon project creation.
In the Database field, select a database you want to use in your application.
Toggle the JavaScript framework checkbox if you want to add a JavaScript framework to your Rails application. Then, select one of the frameworks from the dropdown.
If necessary, provide additional Rails options for project creation in the Extra options field.
For example, you can specify arguments that you will normally use to append the
rails new
command:--skip-tests
to skip creation of test files,--skip-action-mailer
to skip Action Mailer files,--skip-action-cable
to skip Action Cable files, and so on.To get a full list of Rails options compatible with the Rails version in use, run the
rails new --help
command.Click Create.
Launch RubyMine.
If the Welcome screen opens, click New Project. Otherwise, from the main menu, select .
From the list on the left, select Mountable Engine in the Rails group.
Name the new project and change its location if necessary.
In the Ruby SDK field, select the Ruby interpreter that you want to use in your project.
In the Rails version field, select a Rails version that you want to use in your project. If the Rails gem is not installed in the selected SDK or the necessary Rails version is missing, click in the field. Wait until RubyMine downloads all available Rails versions and select the necessary one from the dropdown. Click OK to continue.
If the selected version is not installed yet, RubyMine will install it upon project creation.
In the Database field, select a database you want to use in your application.
If necessary, provide additional Rails options for project creation in the Extra options field.
For example, you can specify arguments that you will normally use to append the
rails new
command:--skip-tests
to skip creation of test files,--skip-action-mailer
to skip Action Mailer files,--skip-action-cable
to skip Action Cable files, and so on.To get a full list of Rails options compatible with the Rails version in use, run the
rails new --help
command.Click Create.
Launch RubyMine.
If the Welcome screen opens, click New Project. Otherwise, from the main menu, select .
From the list on the left, select Rails API in the Rails group.
Name the new project and change its location if necessary.
In the Ruby SDK field, select the Ruby interpreter that you want to use in your project.
In the Rails version field, select a Rails version that you want to use in your project. If the Rails gem is not installed in the selected SDK or the necessary Rails version is missing, click in the field. Wait until RubyMine downloads all available Rails versions and select the necessary one from the dropdown. Click OK to continue.
If the selected version is not installed yet, RubyMine will install it upon project creation.
In the Database field, select a database you want to use in your application.
If necessary, provide additional Rails options for project creation in the Extra options field.
For example, you can specify arguments that you will normally use to append the
rails new
command:--skip-tests
to skip creation of test files,--skip-action-mailer
to skip Action Mailer files,--skip-action-cable
to skip Action Cable files, and so on.To get a full list of Rails options compatible with the Rails version in use, run the
rails new --help
command.Click Create.
Other project types
React
Location | Specify the path to the folder where the project-related files will be stored. |
Node interpreter | Specify the Node.js interpreter that you want to use in this project. You can select a configured interpreter from the list or click Add to configure a new one. If you have no Node.js on your computer, select Download Node.js from the list. |
create-react-app | Select npx create-react-app. Alternatively, for npm version 5.1 and earlier, install the |
Create TypeScript project | To use TSX instead of JSX, select the Create TypeScript project checkbox. RubyMine will generate .tsx files for your application and a tsconfig.json configuration file. |
HTML5 Boilerplate
Location | Specify the path to the folder where the project-related files will be stored. |
Version | Choose the template version to use in your application. |
Bootstrap
Location | Specify the path to the folder where the project-related files will be stored. |
Version | Choose the template version to use in your application. |
React Native
Location | Specify the path to the folder where the project-related files will be stored. |
Node interpreter | Specify the Node.js interpreter that you want to use in this project. You can select a configured interpreter from the list or click Add to configure a new one. If you have no Node.js on your computer, select Download Node.js from the list. |
React Native | From the React Native list, select npx --package react-native-cli react-native. Alternatively, for npm version 5.1 and earlier, install the |
Vite
Location | Specify the path to the folder where the project-related files will be stored. |
Node interpreter | Specify the Node.js interpreter that you want to use in this project. You can select a configured interpreter from the list or click Add to configure a new one. If you have no Node.js on your computer, select Download Node.js from the list. |
Vite | From the Vite list, select npx create-vite. Alternatively, for npm version 5.1 and earlier, install the |
Template | Select the community maintained Vite template that targets the framework you are going to use in your application. |
Next.js
Location | Specify the path to the folder where the project-related files will be stored. |
Node interpreter | Specify the Node.js interpreter that you want to use in this project. You can select a configured interpreter from the list or click Add to configure a new one. If you have no Node.js on your computer, select Download Node.js from the list. |
create-react-app | Select npx create-react-app. Alternatively, for npm version 5.1 and earlier, install the |
Create TypeScript project | To use TSX instead of JSX, select the Create TypeScript project checkbox. RubyMine will generate .tsx files for your application and a tsconfig.json configuration file. |
Node.js
Location | Specify the path to the folder where the project-related files will be stored. |
Node interpreter | Specify the Node.js interpreter that you want to use in this project. You can select a configured interpreter from the list or click Add to configure a new one. If you have no Node.js on your computer, select Download Node.js from the list. |
Package manager | Select the package manager to use in your project (npm, pnpm, or Yarn; see npm, pnpm, and Yarn for details). |
Express
Location | Specify the path to the folder where the project-related files will be stored. |
Node interpreter | Specify the Node.js interpreter that you want to use in this project. You can select a configured interpreter from the list or click Add to configure a new one. If you have no Node.js on your computer, select Download Node.js from the list. |
express-generator | Select the application generator tool with the version to quickly create an application skeleton. |
View Engine | Select the template engine that you want to use. |
Stylesheet Engine | Select the CSS preprocessor for your project. |
Vue.js
Location | Specify the path to the folder where the project-related files will be stored. |
Node interpreter | Specify the Node.js interpreter that you want to use in this project. You can select a configured interpreter from the list or click Add to configure a new one. If you have no Node.js on your computer, select Download Node.js from the list. |
Vue CLI | From the Vue CLI list, select npx --package @vue/cli vue. Alternatively, for npm version 5.1 and earlier, install the |
Use the default project setup (babel, elint) | To bootstrap your application with babel and ESLint, select the Use the default project setup checkbox. |
Angular CLI
Location | Specify the path to the folder where the project-related files will be stored. |
Node interpreter | Specify the Node.js interpreter that you want to use in this project. You can select a configured interpreter from the list or click Add to configure a new one. If you have no Node.js on your computer, select Download Node.js from the list. |
Angular CLI | Select Alternatively, for npm version 5.1 and earlier, install the |
Additional parameters | (Optional) Specify the extra ng new options to pass to Angular CLI. |