pumactl -F /mnt/webserver/www/shared/config/puma.rb start
[30923] Puma starting in cluster mode...
[30923] * Version 2.15.3 (ruby 2.2.1-p85), codename: Autumn Arbor Airbrush
[30923] * Min threads: 0, max threads: 16
[30923] * Environment: development
[30923] * Process workers: 2
[30923] * Preloading application
Could not find minitest-5.8.0 in any of the sources
Run bundle install
to install missing gems.
[30923] ! Unable to load application: SystemExit: exit
[owhat@owhat-test current]$ gem install minitest
Successfully installed minitest-5.8.3
Parsing documentation for minitest-5.8.3
Done installing documentation for minitest after 0 seconds
1 gem installed
pumactl -F /mnt/webserver/www/owhat-web/shared/config/puma.rb start
[30928] Puma starting in cluster mode...
[30928] * Version 2.15.3 (ruby 2.2.1-p85), codename: Autumn Arbor Airbrush
[30928] * Min threads: 0, max threads: 16
[30928] * Environment: development
[30928] * Process workers: 2
[30928] * Preloading application
Could not find minitest-5.8.0 in any of the sources
Run bundle install
to install missing gems.
[30928] ! Unable to load application: SystemExit: exit
我使用 puma.sh 启动的时候报错了,报错信息如下 releases/4/vendor/bundle/ruby/2.2.0/gems/puma-2.15.3/lib/puma/cli.rb:195:in `chdir': No such file or directory @ dir_chdir - /
我执行脚本启动,报错了,不知道如何季节,初次接触 ruby
/mnt/script/puma.sh start
Starting puma...
/mnt/webserver/www//releases/4/vendor/bundle/ruby/2.2.0/gems/puma-2.15.3/lib/puma/cli.rb:195:in chdir': No such file or directory @ dir_chdir - /mnt/webserver/www/current (Errno::ENOENT)
from /mnt/webserver/www//releases/4/vendor/bundle/ruby/2.2.0/gems/puma-2.15.3/lib/puma/cli.rb:195:in
run'
from /mnt/webserver/www//releases/4/vendor/bundle/ruby/2.2.0/gems/puma-2.15.3/bin/puma:10:in <top (required)>'
from /mnt/webserver/wwwreleases/4/vendor/bundle/ruby/2.2.0/bin/puma:23:in
load'
from /mnt/webserver/www//releases/4/vendor/bundle/ruby/2.2.0/bin/puma:23:in `
[owhat@owhat-test current]$ bundle exec puma -e production -b unix:///mnt/webserver/www/owhat-web/shared/tmp/sockets/puma.sock /mnt/webserver/www/owhat-web/releases/4/vendor/bundle/ruby/2.2.0/gems/puma-2.15.3/lib/puma/cli.rb:195:in `chdir': No such file or directory @ dir_chdir - /mnt/webserver/www/owhat-web/owhat/current (Errno::ENOENT) 遇到点问题,请教一下是什么 原因造成的