Change configuration.yml location
In my use case I have to move configuration.yml to another folder, how can I do this?
I can change the location of the data directory, I would also like to change the location of the configuration.yml file from
/mnt/redmine-config/configuration.yml without having to edit the code. Is it possible or will I have to edit the code over here :
grep config /usr/src/redmine/lib/redmine/configuration.rb @config = nil # Loads the Redmine configuration file # * <tt>:file</tt>: the configuration file to load (default: config/configuration.yml) # * <tt>:env</tt>: the environment to load the configuration for (default: Rails.env) filename = options[:file] || File.join(Rails.root, 'config', 'configuration.yml')
I don't have much Ruby knowledge so I don't know what this means exactly
RE: Change configuration.yml location - Added by Liane Hampe about 1 year ago
Did you try to use a symbolic link? This should do the trick.