Problems after upgrading from 1.9.1 to 1.9.3

We have a production server with a running web application and just
upgraded from 1.9.1 to 1.9.3 and nothing works.

Specifically I am getting the error below. I inherited this project
from someone who left the company many months ago, am not familiar with
Ruby but some backwards compatibility seems to have been broken.

Any help would be appreciated. There is no line 524 in the file
mentioned with the problem.

What in the message below will show me the line number in the file I
need to look at?

Short of rolling back to 1.9.1, what is the problem? Was there a reason
for not sticking with backwards compatibility? (or at a minimum a
warning message that something would be removed from the next release
and code should be updated?

It looks as if someone on the Ruby development team simply went and made
a change that breaks existing code on an update.

any help to fix this would be appreciated.


/home/user/rvm/rubies/ruby-1.9.3-p429/lib/ruby/gems/1.9.1/gems/dbi-0.4.5/lib/dbi/columninfo.rb:49:in
[]=': can't add a new key into hash during iteration (RuntimeError) from /home/user/rvm/rubies/ruby-1.9.3-p429/lib/ruby/gems/1.9.1/gems/dbi-0.4.5/lib/dbi/columninfo.rb:49:inblock in initialize’
from
/home/user/rvm/rubies/ruby-1.9.3-p429/lib/ruby/gems/1.9.1/gems/dbi-0.4.5/lib/dbi/columninfo.rb:42:in
each_key' from /home/user/rvm/rubies/ruby-1.9.3-p429/lib/ruby/gems/1.9.1/gems/dbi-0.4.5/lib/dbi/columninfo.rb:42:ininitialize’
from
/home/user/rvm/rubies/ruby-1.9.3-p429/lib/ruby/gems/1.9.1/gems/dbi-0.4.5/lib/dbi/handles/statement.rb:185:in
new' from /home/user/rvm/rubies/ruby-1.9.3-p429/lib/ruby/gems/1.9.1/gems/dbi-0.4.5/lib/dbi/handles/statement.rb:185:inblock in column_info’
from
/home/user/rvm/rubies/ruby-1.9.3-p429/lib/ruby/gems/1.9.1/gems/dbi-0.4.5/lib/dbi/handles/statement.rb:185:in
collect' from /home/user/rvm/rubies/ruby-1.9.3-p429/lib/ruby/gems/1.9.1/gems/dbi-0.4.5/lib/dbi/handles/statement.rb:185:incolumn_info’
from
/home/userprojects/access/amp/amp-common/trunk/mbr_prod/web_reports/cgi/RC_Helper_DB.rb:542:in
block in Get_Full_Data_Set' from <internal:prelude>:10:insynchronize’
from
/home/userprojects/access/amp/amp-common/trunk/mbr_prod/web_reports/cgi/RC_Helper_DB.rb:514:in
Get_Full_Data_Set' from /home/userprojects/access/amp/amp-common/trunk/mbr_prod/web_reports/cgi/RC_Helper_DB.rb:622:inGet_Data_Set’
from
/home/userprojects/access/amp/amp-common/trunk/mbr_prod/web_reports/cgi/RC_Helper_DB.rb:739:in
Get_Label_Listbox' from /home/userprojects/access/amp/amp-common/trunk/mbr_prod/web_reports/cgi/RC_Helper_Html.rb:629:inHtml_Menu’
from
/home/userprojects/access/amp/amp-common/trunk/mbr_prod/web_reports/cgi/RC_Helper_Html.rb:2227:in
Html_Header' from /home/userprojects/access/amp/amp-common/trunk/mbr_prod/web_reports/cgi/RC_Home.rb:9:in
[Mon Jun 03 13:28:00 2013] [error] [client 127.0.0.1] Premature end of
script headers: RC_Home.rb

http://rubyforge.org/tracker/index.php?func=detail&aid=28548&group_id=234&atid=967

John

P.S. Google is always a good friend to call upon

I did indeed try google and looked at the first 10 link; I was not able
to get any information there as to what the problem was or how to fix.

I do not understand the problem or what line of code in this larger .rb
files is failing.

J. V. [email protected] wrote:

I did indeed try google and looked at the first 10 link; I was not able
to get any information there as to what the problem was or how to fix.

Just read the documentation on rvm at http://rvm.io.