I have had this problem with RubyMine 3.0.1 and 3.1: the Tools | Loading Rake tasks... menu never completes, and thus I never have a Tools | Rake Tasks... menu.
If I create a new Rails project, I get a clean Tools | Rake Tasks... menu, so it's a problem with the somewhat large Rails project that I work on. What I'd like to know is how to investigate and solve this problem.
From the command line, 'rake -T' works, but emits several DEPRECATION WARNING lines. (This is a Rails 2.3.8 project with several plugins that are causing some deprecation warnings.) There are also a few custom rake tasks in our project that emit multi-line descriptions, causing 'rake -T' to emit more than one line per rake task.
The Rails project with this project is able to run, both with and without the debugger, from within RubyMine. In fact, I haven't noticed any other RubyMine functionality that isn't working in this project.
P.S. Here are the deprecation warning lines:
DEPRECATION WARNING: Rake tasks in vendor/plugins/active_scaffold_list_filters/tasks, vendor/plugins/acts_as_property_driven/tasks, vendor/plugins/db_content/tasks, vendor/plugins/funkytown/tasks, vendor/plugins/funkytown/tasks, vendor/plugins/loopy_multiple_databases/tasks, vendor/plugins/paperclip/tasks, vendor/plugins/rails-iui/tasks, vendor/plugins/selenium-on-rails/tasks, and vendor/plugins/use_db/tasks are deprecated. Use lib/tasks instead. (called from /Users/ed_ruder/.rvm/gems/ree-1.8.7-2010.02@fansnap-master/gems/rails-2.3.8/lib/tasks/rails.rb:10)
DEPRECATION WARNING: require "activerecord" is deprecated and will be removed in Rails 3. Use require "active_record" instead. (called from /Users/ed_ruder/.rvm/gems/ree-1.8.7-2010.02@fansnap-master/gems/activerecord-2.3.8/lib/activerecord.rb:2)
DEPRECATION WARNING: require "activesupport" is deprecated and will be removed in Rails 3. Use require "active_support" instead. (called from /Users/ed_ruder/.rvm/gems/ree-1.8.7-2010.02@fansnap-master/gems/activesupport-2.3.8/lib/activesupport.rb:2)
P.P.S. Here are some examples of the multi-line descriptions that 'rake -T' emits:
rake cdn:s3_put # Description: Example of how to transfer a single file to S3 ...
rake adhoc:track_users # Description:
Track user behavior