Build won't recognize rake task after upgrade to 8.0.2

We have a project setup in TeamCity and after upgrading to version 8.0.2 the build fails with the following error message:

  • '"rake config"' is not recognized as an internal or external command, operable program or batch file.

This build worked fine before the upgrade with the same settings.  Ruby is still listed in the PATH variable, and rake gem 0.9.2 is installed on the machine.  I can run this rake task on the actual server just fine, but for some reason TeamCity will no longer recognize rake as a valid command.  Has anyone run into this, or have any ideas on how to get TC to recognize the rake task again?  


Comment actions Permalink


Do you have agent installed on same machine as server? If not, please check that agent have 'ruby', 'rake' in PATH.

Could you attach screensots of Build Configuration and full build log?

Also, do you use Rake via Rake Runner of Command Line Runner?
Do you have Ruby Environmrnt Configurator build feature?

Comment actions Permalink

It was using the command line runner, but I finally got it to work using the rake runner.  Thank you for your time.

Comment actions Permalink

Ok, no problem. Develop with pleasure!


Please sign in to leave a comment.