Environment: centos7.8
Ruby 2.4.9
Install basic reference to the official Settings
Directly from the command start
/usr/local/RVM/gems/ruby - 2.4.9/bin/puma - b TCP://127.0.0.1:9292 - e production
Redmine can normal to enter
But if the writing service documents, through systemctl start redmine. Start the service
[Unit]
Description=Redmine
After=nginx. Service
[Service]
The Environment=RAILS_ENV=production
Type=simple
WorkingDirectory=/data/below/redmine
ExecStart=/usr/local/RVM/gems/ruby - 2.4.9/bin/puma - b TCP://127.0.0.1:9292 - e production
User=redmine
[Install]
WantedBy=multi - user. Target
Error===
as followsOct 21st 10:38:41 iZj6c9tbls4i7mkurfz0syZ systemd [1] : Started Redmine.
Oct 21st 10:38:41 iZj6c9tbls4i7mkurfz0syZ puma [22210] :/usr/share/rubygems/rubygems/dependency. The rb: 296: in ` to_specs' : Could not find 'puma' (& gt;=0. 6 a) among total gem (s) (gem: : LoadError)
Oct 21st 10:38:41 iZj6c9tbls4i7mkurfz0syZ puma [22210] : the from/usr/share/rubygems/rubygems/dependency. The rb: 307: in ` to_spec '
Oct 21st 10:38:41 iZj6c9tbls4i7mkurfz0syZ puma [22210] : the from/usr/share/rubygems/rubygems/core_ext/kernel_gem rb: 47: ` in gem '
Oct 21st 10:38:41 iZj6c9tbls4i7mkurfz0syZ puma [22210] : the from/usr/local/RVM/gems/ruby - 2.4.9/bin/puma: 25: in ` & lt; main> '
Oct 21st 10:38:41 iZj6c9tbls4i7mkurfz0syZ puma [22210] : the from/usr/bin/ruby_executable_hooks: 24: in ` eval '
Oct 21st 10:38:41 iZj6c9tbls4i7mkurfz0syZ puma [22210] : the from/usr/bin/ruby_executable_hooks: 24: in ` & lt; main> '
Oct 21st 10:38:41 iZj6c9tbls4i7mkurfz0syZ systemd [1] : redmine. Service: the main process exited, code=exited, status=1/FAILURE
Oct 21st 10:38:41 iZj6c9tbls4i7mkurfz0syZ systemd [1] : Unit redmine. Service rose failed state.
Oct 21st 10:38:41 iZj6c9tbls4i7mkurfz0syZ systemd [1] : redmine. The service failed.
Directly on the shell command to start the everything is normal, please comment