Cannot reload rake tasks list

Completed

When I go to run a rake task, there is nothing in the list except a drop down with the "refresh logo" with the text "Reload rake tasks list", but I cannot select it or figure out how to reload the empty list so I can use migrate. Please help!

3 comments

OK figured it out myself... Had to go to RubyMine->Preferences->Project Structure and change Content Root to be the directory that contained the Gemfile. Then I ran Tools->Bundler->Install (not sure if this step was required, but found it along my troubleshooting path. It gave output saying it couldn't find the Gemfile which led me to the eventual solution). Then the rake tasks lists will populate itself!

0

I have the same problem, namely, an empty rake list.  I followed your (Asorgiu's) instructions and added a "content root" and then re-ran bundle install.  However, opt-R still gives me an empty rake list.  I double clicked on reload rake tasks and RubyMine has been running the process "generating rake tasks hierarchy" FOR HOURS.  

How long does it take to re-generate the rake tasks hierarchy, or has RubyMine "hung" (as I suspect)?

 

 

0

@Randall

could you please specify what RubyMine version you're using (and whether you've tried the last one). Does it happen to all your RoR projects?

0

Please sign in to leave a comment.