我有一个 Rails 应用程序,它又在其中使用 sinatra 应用程序。我将此行添加到路线
mount TestApp::Application => "/test_app"
现在在访问/test_app
它给出的路线时
TypeError (no marshal_dump is defined for class Mutex)
如果针对 Ruby 1.9.2 和 rails 3.2.1 运行。Sinatra 应用程序使用 mongo gem。
现在,当我针对 ruby 1.8.7 和 rails 3.2.1 运行此应用程序时,它会出现以下错误
TypeError (can't dump TCPSocket)
非常感谢任何帮助。