Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个非 RoR 但 ruby webapp。
到目前为止,我一直在使用 requests、hacks 和 mod_ruby;但我真的很想尝试 Mongrel——这似乎对 RoR 站点非常有效。
我查看了 GitHub 中给出的示例,它们都没有像在开发模式下的 RoR 中那样动态更改内容而无需重新启动 Mongrel。
我怎样才能做到这一点?(只是使用load不起作用。)
load
我使用带有 Mongrel 后端的Sinatra ;hello world 真的和首页上说的一样简单。我实际上是从 Sinatra 开始的,然后在尝试了性能更好的服务器后,将服务器从 webrick 更改为 mongrel。
请参阅此问题以了解该测试的结果。