![]() You can also use interpreters managed by other version managers or installed using the package management system of your operating system. In this tutorial, we use RVM to manage Ruby interpreters. In the invoked Project Structure dialog, switch to the Modules page and select the Ruby interpreter. Go to File | Project Structure, or press Ctrl+Alt+Shift+S. Select the Ruby interpreter and install gemsĪfter you’ve opened the project, it is necessary to select the required Ruby interpreter and install the dependencies specified in the project's Gemfile: Indexing occurs when you open a project for the first time, install dependencies, add new files to a project, get updates from a version control system, or switch branches. ![]() This is required for code insight features such as code completion and navigation. IntelliJ IDEA indexes your project to analyze its sources and collects the information on available files, class and method definitions, and so on. You can see the progress in the Status Bar. IntelliJ IDEA will show a progress bar indicating a cloning process.Īfter cloning the repository, IntelliJ IDEA opens the directory and starts the indexing process. Insert the following address to the URL field:Ĭlick the Clone button. Make sure that Git is selected in the Version control field. In the Get from Version Control dialog, do the following: ![]() Run IntelliJ IDEA and click Get from Version Control on the Welcome Screen. Open a projectįirst of all, we need to clone the repository containing the sample application: We'll perform all steps using IntelliJ IDEA installed on macOS. ![]() Install the Ruby distribution for your platform. Before starting this tutorial, do the following: In this tutorial, we’ll show you the main IntelliJ IDEA capabilities using a fork of a sample application created for the Ruby on Rails Tutorial. IntelliJ IDEA is available for different platforms including macOS, Windows, and Linux. IntelliJ IDEA is an integrated development environment (IDE) that helps you be more productive in every aspect of Ruby/Rails projects development - from writing and debugging code to testing and deploying a completed application. Get started with a Rails project in IntelliJ IDEA
0 Comments
Leave a Reply. |