Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails and Rake : .rakeTasks?

What is .rakeTasks file for ?

Rails version : 3.2.1

like image 401
etiennepeiniau Avatar asked Mar 10 '12 09:03

etiennepeiniau


1 Answers

The .rakeTasks file is created by the IntelliJ IDEA Ruby plugin (and possibly by JetBrains' Ruby-specific RubyMine IDE as well, I'm not sure). As the comments in the file itself state:

<!--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 the list of Rake tasks that appears when you select Tools / Run Rake Task...:

enter image description here

Unless you need to customize that list for some reason, you probably never need to edit the file. Personally I exclude it from version control in my .gitignore, along with the .ipr, .iml, and .iws files. (I might check it in if I was working in a homogeneous IDEA shop, but I'm not.)

like image 115
David Moles Avatar answered Oct 20 '22 17:10

David Moles