nginx + puma 部署 redmine2.6
#1.安装puma $ gem install puma 因为文件是从amazon云上下载,所以经常是连不上去,重试几次就好了。 安装好以后的gems路径一般为:/usr/local/share/gems/gems/puma-2.9.2 #2.配置puma 在redmine的config目录下创建文件 puma.rb,如 $ vim /usr/local/redmine-2.6.0/config/puma.rb application_path = '/usr/local/redmine-2.6.0' directory application_path environment 'production' daemonize true pidfile "#{application_path}/tmp/pids/puma.pid" state_path "#{application_path}/tmp/pids/puma.state" stdout_redirect "#{application_path}/log/puma.stdout.log", "#{application_path}/log/ puma.stderr.log" bind "unix://#{application_path}/tmp/sockets/redmine.sock" ##3.安装gems $ echo