Ah right sorry about that comment.

So this strategy of "injecting" rake was adopted by Greg from @inecas I
think and it works fine so I decided only to improve it and also to
modify the core Gemfile to avoid changes made by plugin.

-- 
Later,

 Lukas "lzap" Zapletal
 irc: lzap #theforeman