Redmine upgrade from 1.1.1 mysql to 3.4.4 - DB migration not working

Added by Andrew Sinclair 4 months ago

I have a clean install of ubuntu 18.04 and a fresh install of 3.4.4. System is working and I can browse to the redmine site. I have tried to migrate my old db from redmine 1.1.1 and am unable. From /usr/share/redmine I try and run:

bundle exec rake db:migrate RAILS_ENV=production

and get the following error:

Traceback (most recent call last):
1: from /usr/local/bin/bundle:23:in `<main>'
/usr/local/bin/bundle:23:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.16.1/exe/bundle (LoadError)

Any help would be greatly appreciated as I don't understand all things ruby and gems.