I have a rails application that in turn uses sinatra app in it. I added this line to routes
mount TestApp::Application => "/test_app"
now while accessing /test_app
routes it gives
TypeError (no marshal_dump is defined for class Mutex)
if ran against Ruby 1.9.2 and rails 3.2.1. Sinatra app uses mongo gem.
Now when I run this app against ruby 1.8.7 and rails 3.2.1, it gives following error
TypeError (can't dump TCPSocket)
Any help is highly appreciated.