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
Comment actions Permalink

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

0
Comment actions Permalink

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

0
Comment actions Permalink

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.