Upgrading DMSF Permission denied @ rb_file_s_rename

Added by R Eddy 19 days ago

I need some help upgrading DMSF.
I am currently on 1.5.8 and when updating to 2.6.1 it copys all the files to a new directory.
I run the following command:
bundle exec rake redmine:plugins:migrate NAME=redmine_dmsf RAILS_ENV="production"
I get multiple "Permission denied @ rb_file_s_rename" statements

I've read all over about bundle having an issue with permissions in 1.13 so I upgraded to 1.14 but get the same results.
Can I run it as root? Looks like RVM files are owned by root so I'm assuming root installed Ruby?
I wasn't the initial installer so I'm not certain.

Any help would be appreciated, thanks!