Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Learning to call rake using maven in a rails project

 
Joseph Swager
Ranch Hand
Posts: 41
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Fellow Ranchers,

So I have no problem making a basic rake file and calling its tasks from maven. However, when I build it as a rails project i get this error:


Here is my rake file:


My maven file:



And my lib/task/do_some_thing.rake:


Now the error goes away if I comment out everything in the base rake and put what i have in the do_some_thing.rake in it. then i get maven to print out.

What am i missing to do such a basic call in rake with a rails implementation ?

Thanks,
Joe
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic