Rails 有没有在 windows 上部署的?

nuanshuidai · March 16, 2023 · Last by moreoronce replied at March 30, 2023 · 772 hits

有没有在 Windows 系统上部署经验的朋友?谈谈经验,谢谢了。

没有。折腾/

没有直接用 windows。

Ruby 的实现依赖于 Linux 更多。

你可以在 Windows 中启用 WSL 上跑 Linux 再尝试下 Rails

就 linux 或 osx 吧,折腾啥

windows 上装个虚拟机

哎,朋友想在已有的 Windows Server 上跑 Rails 项目,因为已有应用是在这台 Server 上跑的,没办法舍弃。 我还真没有搞过这个。

那可以考虑在 window server 装虚拟机或 wsl 跑(毕竟要求这么严格非得在 windows 上跑的话,说明就是小业务了,不用想太多)

用 windows server VurtalBox 来部署过,然后停电,VM 直接崩溃了,启动都不能了。万幸是测试站

Reply to RoyZheng

已经准备用 WSL2 方案了。

WSL2 试试看,或者 docker

You need to Sign in before reply, if you don't have an account, please Sign up first.