Image capture :ERB syntax error

// Expert user has replied.
S Salvatore De crescenzo 2 years 11 months ago
0 1 0

Hi folks

I have recently downloaded Rhomobile suit, I'm still quite new to the all environment and I have been reading quite few tutorials online, was able to complete the Rhomobile suite demo example with success.

Now I am trying to complete the Image capture example by using the Android simulator and I have believe that SDK, NDk and Java paths have been correctly configured still I have not been able to launch the Android Simulator at all.

When trying to run configuration I receive the following error :

[
(eval):42: syntax error, unexpected $end, expecting keyword_end
; _erbout.force_encoding('utf-8')

You have a syntax error in your ERB: B:/Rhomobile workplace/Camera/bin/tmp/assets/apps/app/Image/index.erb

See log above for the line number following the string "(eval):"]

And this is the index.erb

 
    Images
   
      Home
   
   
      New
   
 

 
   
   
   
      Choose Picture
     
   
   
   
      Take Picture
    

     
     
         
           
           
        
        
        
          Delete
         
     
     
   
 

I can't find the error, can somebody pls help?

Please register or login to post a reply

1 Replies

B Bhakta Ranjan Satapathy

Hi ,

you have missed end for your if block.

 
Take Picture

And I will suggest kindly remove space from your path (B:/Rhomobile workplace/Camera/bin/tmp/assets/apps/app/Image/index.erb).

Thanks

CONTACT
Can’t find what you’re looking for?