Teamcity rakerunner issue

Every time that I try use team city to build a .net solution using rake I receive the same "Format_exception_msg : Invalid escape character syntax: /path to rakefile/ (RegexError)

My natural assumption would be that I in fact have a invalid escape character somewhere in my rake code, I admit that I've never used ruby or rake before, but the script itself executes without problems and behaves as it should when executed on the command line without the use of teamcity. Furthermore, I went through my code slowly commenting out lines to try to narrow down where the invalid character could be and the team city process continuted to fail even with a completely commented out rake file.

Thanks for the help, let me know if more information is needed.

3 comments
Comment actions Permalink

Hello Justen,

Which version of TeamCity do you use? Please attach screenshot of "Runner:Rake" settings page.

0
Comment actions Permalink

The build is 4.5.1.8975



Attachment(s):
RakeRunnerConfigScreen.JPG
0
Comment actions Permalink

Hello Justen,

Is this problem still actual ?

0

Please sign in to leave a comment.