Ruby is a prerequisite to run Easy Redmine. It is a maintained and continuously updated programming language. Which means that once in a while you will need to update your Ruby in order to be able to use new versions of Easy Redmine. Updating Ruby has consequences, which is why we are presenting you some guidelines, so you don't forget about any related change in your configurations.

The most common problem is that server (unicorn) doesn't start after Ruby update.

This guideline is provided with examples from VMs provided by Easy Software - always verify the steps before performing on your own server.

0/ Create backup

1/ Upgrade ruby (using rvm)
sudo rvm get head
sudo rvm install ruby-2.5.0
rvm use --default ruby-2.5.0

Make sure you are using a compatible version, see our system requirements.

2/ Install bundler & unicorn
gem install bundler unicorn

3/ Install gems
cd /home/easy/current (or cd /srv/easyredmine/public_html on older VMs)
bundle update

4/ Install Easy Redmine
rake easyproject:install RAILS_ENV=production

5/ Restart unicorn
sudo service easy restart (or sudo service unicorn restart on older VM)

6/ You may also need to change the ruby version in a startup script (on older VMs)
sudo vim /etc/systemd/system/easy.service (or sudo vim /lib/systemd/system/unicorn.service)

ExecStart=/bin/bash -lc 'rvm 2.1.5 do unicorn -D -c /etc/unicorn/easyredmine.rb -E production'

Change the ruby version or use "default", save it and then restart the service.

If it still doesn't work, This email address is being protected from spambots. You need JavaScript enabled to view it. and send us stderr.log (unicorn's error log) and production.log

Additional information

Easy Redmine 2019 Free Trial

Full-featured, 30 Days, SSL protected, Daily Backups, In your Geo Location