Can't run rake task

I have created a file Raketask and declared a task.

The file could be run by rake in command line but when i run ALT+R and typed the taskname RubyMine couldn't find it.

Why is that?

3 comments

Please reload list of known tasks - "RubyMine | Tools | Reload Rake Tasks.." action.

0

That button is not clickable...i wonder why.

0

Open src editor tab, put caret somewhere and try again (in your case probably was focused some component which context didn't contain info about name of current active project). Also check that "rake" gem is attached and SDK is set in RubyMine | File | Settings | Ruby SDK and Gems tab.

0

Please sign in to leave a comment.