我正在尝试让我的 Rails 应用程序在我的 VPS 上运行。我已经部署了我的项目,创建了数据库并迁移了它。但当我访问该页面时,我收到一条消息:
We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.
Run Code Online (Sandbox Code Playgroud)
我的 nginx 错误日志显示了以下内容:
App 12380 stdout:
App 12380 stderr: *** ERROR ***: Cannot execute /home/deploy/.rvm/wrappers/ruby-2.1.2/ruby: No such file or directory (2)
[ 2014-11-03 11:44:12.9549 12050/7fd1a0bb8700 Pool2/Implementation.cpp:287 ]: Could not spawn process for application /home/deploy/wisemonkeys/current: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger.
Error ID: 20eb13ee …Run Code Online (Sandbox Code Playgroud)