|
Post by jacecen on Aug 3, 2017 17:56:57 GMT
When I test my application in RhoSimulator this works perfectly, but when trying to run it on a device the ERB preprocessor returns me the following error: Running default.rb
You have a syntax error in your ERB: C:/Proyectos/Sync/RepartosAhembo/RhoRepartos/bin/tmp/assets/apps/app/Utilidades/settings.erb
See log above for the line number following the string "(eval):"
Error interpreting erb code
RET: 1
Without any indication of where the error occurs. I attach the form with the error and the corresponding controller
|
|
|
Post by Vladimir Musulainen on Aug 3, 2017 18:08:04 GMT
Hi, ERB-file seems fine on the first look. Could you share a sample application with the issue?
|
|
|
Post by jacecen on Aug 3, 2017 18:20:57 GMT
I send you a part of my real application
|
|
|
Post by Vladimir Musulainen on Aug 3, 2017 20:39:34 GMT
OK, it take a couple of hours& Please specify version of rhodes and OS
|
|
|
Post by jacecen on Aug 3, 2017 20:43:08 GMT
I have tried with Rhodes 5.5.0.31, 33 y 34 and my development OS is Win10
|
|
|
Post by Vladimir Musulainen on Aug 3, 2017 20:54:26 GMT
Yes, I had the issue too on rhodes 5.5.0.31.
|
|
|
Post by Vladimir Musulainen on Aug 3, 2017 21:08:06 GMT
I found out the reason
file RhoRepartos/app/Albaran/facturar.erb
<a href="<%= url_for(:action => :imprimir, :query => {:albaran => @albaran.albaran}, :back => @params["back"]}) %>" Extra "}" at the end of line
Below fixed line
<a href="<%= url_for(:action => :imprimir, :query => {:albaran => @albaran.albaran}, :back => @params["back"]) %>"
I used rhodes v.6.0.0.beta12. The next version, rhodes 6 shows a reason of compile failings for .erb and .rb files
|
|