0

我正在使用带有 ubuntu 18.04 的 wsl2,我想运行一个Rails 项目,但遇到了一个错误,我找不到解决方案。

使用控制台启动 Rails 应用程序后rails s提示我以下错误消息。

=> Booting Puma
=> Rails 5.2.4.4 application starting in development
=> Run `rails server -h` for more startup options
Exiting
Traceback (most recent call last):
(...)
The name org.freedesktop.NetworkManager was not provided by any .service files (DBus::Error)
(...)
The name org.freedesktop.NetworkManager was not provided by any .service files; caused by 3 sender=org.freedesktop.DBus -> dest=:1.38 serial=3 reply_serial=3 path=; interface=; member= error_name=org.freedesktop.DBus.Error.ServiceUnknown (DBus::Error)

Dbus 服务正在运行,但我无法让网络管理器运行。我什至需要它吗?跑步后sudo service network-manager restartsudo service network-manager status我只得到 * NetworkManager is not running

期待您的回复:)

4

0 回答 0