views:

14

answers:

1

I'm coding with Ruby on rails 2.3.2 under BitNami RubyStack When i call the upload controller, i get error like this:

compile error C:/Users/BitNami RubyStack projects/killerapp/app/views/upload/index.html.erb:6: unterminated string meets end of file C:/Users/BitNami RubyStack projects/killerapp/app/views/upload/index.html.erb:6: syntax error, unexpected $end, expecting ')'

The code of index view: <% form_for :picture, :html => { :multipart => true } do |form| %> First_Name: <%= form.text_field :first_name %> Last_Name: <%= form.text_field :last_name %> <%= submit_tag "Upload" %> <% end %>

What's the problem? Please, help me.

A: 

When I used 1.9 The problem didn't appear, but i like to use ruby 1.8.7

Anton