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?

0
Avatar
Permanently deleted user

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

请先登录再写评论。