I have IntelliJ 11.1.2 with the current RubyMine Plugin ( MacOS ) and created a ruby - project. Now i want to add a rakefile of my own and make it run by IntelliJ.
I created a simple rake test file, that runs fine when started by the shell.
Following the instructions in the help i put this file in lib/tasks ( I also tried to put it in the project root ).
But after restart the file never appears at Tools / Run rake tasks and when i click on the popup "Reload rake tasks list" I get the message:
Error: Rake action cannot be launched in current projetct context.
What am i doing wrong?