I am wondering if something has changed in Ruby since this was originally published.
I followed all the steps as written, although I skipped steps 6 & 7 as they are optional and this is a completely new install of Redmine.
When I got to the step 10, there is no PROJECTDIR variable in the 'start' script. However, there is one in the 'start_puma' script, so I edited that one.
Additionally, there is no RAILS_ENV variable in the 'start' script, but there is one in the 'start_puma' script. Again, I went ahead and edited this one.
I changed the PROJECTNAME variable in the 'stop_puma' script to reflect the version of Redmine I am using (5.0.5). All the other variables in this script were below a "do not edit items below this line" warning so I left them alone.
I ran the restart script, but am now just getting a 502 error. I am not quite sure what I am doing wrong.
Does anybody know if these instructions will work with the current version of Ruby on Rails? Should I be looking for these variables somewhere else? (FWIW, I did try adding these variables to the non-Puma 'start' and 'stop' scripts with no luck.)