How to go to definition on required rake tasks?

I have a simple Rakefile:

 
require 'albacore'

desc "builds"
build :quickbuild do |b|
  b.sln = "C:/Code/ALohaAutomation/Source/AlohaAutomation.sln"
end


I have successfully ran this and see that the gem is loaded. However when I put my caret over the word build above and try to go to the definition, RubyMine doesn't know that it is the build task declared in the albacore assembly.

What am I doing wrong?

2 comments
Comment actions Permalink

Hi,

it looks like a bug for me could you please file one in our tracker (https://youtrack.jetbrains.com/issues/RUBY) with small test project attached.

Regards, Oleg

0

Please sign in to leave a comment.