Upgrade Problems on 1.8.4

N

navinsamuel

I just upgraded my ruby installation from 1.8.2-15 to 1.8.4-20. Now
when trying to run my application in Webrick, the login page croaks
with a syntax error I cant figure out! It used to work fine with
1.8.2-15! Here is a dump of the error. Any help will be highly
appreciated


compile error
../script/../config/../app/views/login/login.rhtml:13: syntax error

10:
11: <%= form_tag %>
12:
13: <table width="429" border="0" cellpadding="0" cellspacing="0">
14: <tr bgcolor="#FECB41">
15: <td align="left"><span ><input type="image" name="imageField"
src="/images/left_top_yellow.gif" /></span></td>
16: <td align="right"><span ><input type="image" name="imageField"
src="/images/right_top_yellow.gif" /></span></td>

#{RAILS_ROOT}/app/views/login/login.rhtml:13:in `compile_template'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:305:in
`compile_and_render_template'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:290:in
`render_template'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:249:in
`render_file'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:699:in
`render_file'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:621:in
`render_with_no_layout'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/layout.rb:251:in
`render_without_benchmark'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:53:in
`render'
c:/programs/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:53:in
`render'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:911:in
`perform_action_without_filters'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue'
c:/programs/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/rescue.rb:82:in
`perform_action'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:381:in
`process_without_filters'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/filters.rb:377:in
`process_without_session_management_support'
c:/programs/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/session_management.rb:117:in
`process'
c:/programs/ruby/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/dispatcher.rb:38:in
`dispatch'
c:/programs/ruby/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/webrick_server.rb:115:in
`handle_dispatch'
c:/programs/ruby/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/webrick_server.rb:81:in
`service'
c:/programs/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
c:/programs/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
c:/programs/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
c:/programs/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
c:/programs/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
c:/programs/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
c:/programs/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
c:/programs/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
c:/programs/ruby/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/webrick_server.rb:67:in
`dispatch'
c:/programs/ruby/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/commands/servers/webrick.rb:59
c:/programs/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
c:/programs/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require'
c:/programs/ruby/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/commands/server.rb:30
c:/programs/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
script/server:3
 
J

Jan Svitok

I just upgraded my ruby installation from 1.8.2-15 to 1.8.4-20. Now
when trying to run my application in Webrick, the login page croaks
with a syntax error I cant figure out! It used to work fine with
1.8.2-15! Here is a dump of the error. Any help will be highly
appreciated


compile error
./script/../config/../app/views/login/login.rhtml:13: syntax error

10:
11: <%= form_tag %>
12:
13: <table width="429" border="0" cellpadding="0" cellspacing="0">
14: <tr bgcolor="#FECB41">
15: <td align="left"><span ><input type="image" name="imageField"
src="/images/left_top_yellow.gif" /></span></td>
16: <td align="right"><span ><input type="image" name="imageField"
src="/images/right_top_yellow.gif" /></span></td>

#{RAILS_ROOT}/app/views/login/login.rhtml:13:in `compile_template'

I don't see anything wrong with it. Try looking before that if there
is some missing quote or %> tag or bracket...

Maybe you've got some explanation what's wrong?

J.
 
N

navinsamuel

Could not find any Jan. I uninstalled 1.8.4.20 and went back to
1.8.2.15 and everything just works fine. This is sort fo crazy. Thanks
a ton for your reply.

I am really confused because of the error message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,039
Messages
2,570,376
Members
47,029
Latest member
EmiliaSton

Latest Threads

Top