Rails and Rake: .rakeTasks?

What is a .rakeTasks file for?

Rails Version: 3.2.1

+6
source share
2 answers

The .rakeTasks file is created by the IntelliJ IDEA Ruby plugin (and maybe using JetBrains Ruby-specific RubyMine , I'm not sure). As stated in the comment in the file:

 <!--This file was automatically generated by Ruby plugin. You are allowed to: 1. Remove rake task 2. Add existing rake tasks To add existing rake tasks automatically delete this file and reload the project. --> 

It provides a list of Rake tasks that appear when you select Tools / Run Rake Task ... :

enter image description here

If you do not need to customize this list for any reason, you probably never have to edit the file. Personally, I exclude it from version control in my .gitignore , as well as the .ipr , .iml and .iws . (I could check this if I worked in a uniform IDEA store, but I don't know.)

+7
source

This file is an automatic requirement and sets a specific project task, accessible with a rake.

0
source

Source: https://habr.com/ru/post/910396/


All Articles