On this page:
Whatever you do in RubyMine, you do that in the context of a project. A project is an organizational unit that represents a complete software solution. It serves as a basis for coding assistance, bulk refactoring, coding style consistency, etc.
Such project directory contains a
.idea directory, with the following files:
*.imlfile that describes the project structure.
workspace.xmlfile that contains your workspace preferences.
- A number of
.xmlfile is responsible for its own set of settings, that can be recognized by its name:
Thus, for example, adding a new run/debug configuration and changing encoding will affect two different
.xmlfiles. This helps avoid merge conflicts when the project settings are stored in a version control system and modified by the different team members.
All the settings files in the
.idea directory should be put under version control
workspace.xml, which stores your local preferences. The
workspace.xml file should be
marked as ignored by VCS.
.idea directory is not visible in the Project view of the Project tool window.
The directory structure of each project contains the
.idea directory for the RubyMine-specific settings and the project file, and libraries.
RubyMine suggests the following types of projects:
Empty project is intended for pure Ruby programming.
The directory structure of
such project contains the
.ideadirectory for the RubyMine-specific settings and the project file, and libraries.
Create a plain Ruby project as described in the section Creating Empty Project.
Rails application intended for the Ruby-on-Rails development. This project type
contains the specific infrastructure of the Rails applications, and all the necessary artifacts.
For the Rails applications, RubyMine provides a dedicated view in the Project tool window.
Create a Rails application as described in the section Creating Rails Application and Rails Mountable Engine Projects.
Rails mountable engine intended for the development of the Rails applications to
be used as plugins in the other Rails applications. This project type
contains the specific infrastructure of the Rails and Rails engine applications, and all the necessary artifacts.
For the projects of this type, RubyMine provides Rails view in the Project tool window.
Create a Rails mountable engine application as described in the section Creating Rails Application and Rails Mountable Engine Projects. Define the Rains mountable engine specific settings and embed the engine into a Rails application as described in the section Working with Rails Mountable Engine Projects.
- Gem application project for developing, building and pushing gems to github. This project type provides the necessary infrastructure and artifacts, required for creating gems. Refer to the section Creating Gem Application Project for details.
- RubyMotion application intended for the development of applications for iOS. This project type provides the necessary infrastructure and artifacts, required for the RubyMotion applications. Refer to the section RubyMotion for details.
Twitter Bootstrap, and
For the client-side applications, RubyMine creates specific infrastructure, with the required files and directories.
Create project as described in the section Creating Projects from Scratch in RubyMine.