I have ruby on rails legacy application and I have the following error when I run the application
/usr/local/lib/ruby/gems/1.9.1/gems/linecache19-0.5.12/lib/trace_nums19.so: undefined symbol: ruby_current_thread - /usr/local/lib/ruby/gems/1.9.1/gems/linecache19-0.5.12/lib/trace_nums19.so (LoadError)
/usr/local/lib/ruby/gems/1.9.1/gems/linecache19-0.5.12/lib/tracelines19.rb:12:in `require'
/usr/local/lib/ruby/gems/1.9.1/gems/linecache19-0.5.12/lib/tracelines19.rb:12:in `rescue in <module:TraceLineNumbers>'
Full error can be found Here
Could anyone help me spot the problem?