Hi, the redmine install is standard debian with a small modification to be able to serve it as a subdomain "https://xxx.net/redmine". Therefore I added the following two lines to the config file /usr/share/redmine/config/environment.rb :
RedmineApp::Application.routes.default_scope = { :path => ENV['RAILS_RELATIVE_URL_ROOT'] } Redmine::Utils::relative_url_root = ENV['RAILS_RELATIVE_URL_ROOT'] and I added a link in /usr/share/redmine/public/ /usr/share/redmine/public/redmine -> . I'll attach the files /usr/share/redmine/Gemfile and /usr/share/redmine/Gemfile.lock (linked to /var/lib/redmine/Gemfile.lock ). Regards, Jörg.
source 'https://rubygems.org' if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.5.0') abort "Redmine requires Bundler 1.5.0 or higher (you're using #{Bundler::VERSION}).\nPlease update with 'gem update bundler'." end gem "rails", "~> 4.2.8" gem "addressable", "2.4.0" if RUBY_VERSION < "2.0" if RUBY_VERSION < "2.1" gem "public_suffix", (RUBY_VERSION < "2.0" ? "~> 1.4" : "~> 2.0.5") end gem "jquery-rails", "~> 4.0" gem "coderay", "~> 1.1" gem "request_store", "~> 1.1" gem "mime-types" gem "protected_attributes" gem "actionpack-xml_parser" gem "roadie-rails", "~> 1.1" gem "roadie", "~> 3.2" gem "mimemagic" gem "mail", "~> 2.6.4" gem "nokogiri", (RUBY_VERSION >= "2.1" ? "~> 1.8.1" : "~> 1.6.8") gem "i18n", "~> 0.7" gem "ffi", "1.9", :platforms => :mingw if RUBY_VERSION < "2.0" # Request at least rails-html-sanitizer 1.0.3 because of security advisories gem "rails-html-sanitizer", ">= 1.0.3" # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin] gem "rbpdf", "~> 1.19" # Optional gem for LDAP authentication group :ldap do gem "net-ldap", "~> 0.12" end # Optional gem for OpenID authentication group :openid do gem "ruby-openid", "~> 2.7", :require => "openid" gem "rack-openid" end platforms :mri, :mingw, :x64_mingw do # Optional gem for exporting the gantt to a PNG file, not supported with jruby group :rmagick do gem "rmagick", ">= 2.14.0" end # Optional Markdown support, not for JRuby group :markdown do gem "redcarpet", "~> 3.4.0" end end # Include database gems for the adapters found in the database # configuration file require 'erb' require 'yaml' seen_adapters = {} Dir['{config,instances/*/config}/database.yml'].select do |f| File.readable?(f) end.each do |database_file| database_config = YAML::load(ERB.new(IO.read(database_file)).result) adapters = database_config.values.map {|c| c['adapter']}.compact.uniq if adapters.any? adapters.each do |adapter| next if seen_adapters[adapter] seen_adapters[adapter] = true case adapter when 'mysql2' gem "mysql2", "~> 0.4", :platforms => [:mri, :mingw, :x64_mingw] when /postgresql/ gem "pg", "~> 0.19", :platforms => [:mri, :mingw, :x64_mingw] when /sqlite3/ gem "sqlite3", (RUBY_VERSION < "2.0" && RUBY_PLATFORM =~ /mingw/ ? "1.3.12" : "~>1.3.12"), :platforms => [:mri, :mingw, :x64_mingw] when /sqlserver/ gem "tiny_tds", (RUBY_VERSION >= "2.0" ? "~> 1.0.5" : "~> 0.7.0"), :platforms => [:mri, :mingw, :x64_mingw] gem "activerecord-sqlserver-adapter", :platforms => [:mri, :mingw, :x64_mingw] else warn("Unknown database adapter `#{adapter}` found in config/database.yml, use Gemfile.local to load your own database gems") end end else warn("No adapter found in config/database.yml, please configure it first") end end local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local") if File.exists?(local_gemfile) eval_gemfile local_gemfile end # Load plugins' Gemfiles Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file| eval_gemfile file end
GEM remote: https://rubygems.org/ specs: actionmailer (4.2.10) actionpack (= 4.2.10) actionview (= 4.2.10) activejob (= 4.2.10) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 1.0, >= 1.0.5) actionpack (4.2.10) actionview (= 4.2.10) activesupport (= 4.2.10) rack (~> 1.6) rack-test (~> 0.7.0) rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.2) actionpack-xml_parser (1.0.2) actionpack (>= 4.0.0, < 5) actionview (4.2.10) activesupport (= 4.2.10) builder (~> 3.1) erubis (~> 2.7.0) rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.3) activejob (4.2.10) activesupport (= 4.2.10) globalid (>= 0.3.0) activemodel (4.2.10) activesupport (= 4.2.10) builder (~> 3.1) activerecord (4.2.10) activemodel (= 4.2.10) activesupport (= 4.2.10) arel (~> 6.0) activesupport (4.2.10) i18n (~> 0.7) minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) addressable (2.5.2) public_suffix (>= 2.0.2, < 4.0) arel (6.0.4) builder (3.2.3) coderay (1.1.2) concurrent-ruby (1.0.5) crass (1.0.2) css_parser (1.6.0) addressable erubis (2.7.0) globalid (0.3.6) activesupport (>= 4.1.0) htmlentities (4.3.3) i18n (0.7.0) jquery-rails (4.3.3) rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) loofah (2.2.2) crass (~> 1.0.2) nokogiri (>= 1.5.9) mail (2.6.4) mime-types (>= 1.16, < 4) mime-types (3.2.2) mime-types-data (~> 3.2015) mime-types-data (3.2015.1120) mimemagic (0.3.2) minitest (5.11.3) net-ldap (0.16.1) nokogiri (1.8.4) protected_attributes (1.1.3) activemodel (>= 4.0.1, < 5.0) public_suffix (2.0.5) rack (1.6.4) rack-openid (1.4.2) rack (>= 1.1.0) ruby-openid (>= 2.1.8) rack-test (0.7.0) rack (>= 1.0, < 3) rails (4.2.10) actionmailer (= 4.2.10) actionpack (= 4.2.10) actionview (= 4.2.10) activejob (= 4.2.10) activemodel (= 4.2.10) activerecord (= 4.2.10) activesupport (= 4.2.10) bundler (>= 1.3.0, < 2.0) railties (= 4.2.10) sprockets-rails rails-deprecated_sanitizer (1.0.3) activesupport (>= 4.2.0.alpha) rails-dom-testing (1.0.6) activesupport (>= 4.2.0.beta, < 5.0) nokogiri (~> 1.6) rails-deprecated_sanitizer (>= 1.0.1) rails-html-sanitizer (1.0.4) loofah (~> 2.2, >= 2.2.2) railties (4.2.10) actionpack (= 4.2.10) activesupport (= 4.2.10) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) rake (12.3.1) rbpdf (1.19.0) htmlentities (>= 4.3.1) rbpdf-font (~> 1.19.0) rbpdf-font (1.19.0) redcarpet (3.4.0) request_store (1.3.0) rmagick (2.16.0) roadie (3.2.2) css_parser (~> 1.3) nokogiri (~> 1.5) roadie-rails (1.3.0) railties (>= 3.0, < 5.3) roadie (~> 3.1) ruby-openid (2.7.0) sprockets (3.7.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) sprockets-rails (2.3.2) actionpack (>= 3.0) activesupport (>= 3.0) sprockets (>= 2.8, < 4.0) sqlite3 (1.3.13) thor (0.19.4) thread_safe (0.3.6) tzinfo (1.2.5) thread_safe (~> 0.1) PLATFORMS ruby DEPENDENCIES actionpack-xml_parser coderay (~> 1.1) i18n (~> 0.7) jquery-rails (~> 4.0) mail (~> 2.6.4) mime-types mimemagic net-ldap (~> 0.12) nokogiri (~> 1.8.1) protected_attributes rack-openid rails (~> 4.2.8) rails-html-sanitizer (>= 1.0.3) rbpdf (~> 1.19) redcarpet (~> 3.4.0) request_store (~> 1.1) rmagick (>= 2.14.0) roadie (~> 3.2) roadie-rails (~> 1.1) ruby-openid (~> 2.7) sqlite3 (~> 1.3.12) tzinfo-data BUNDLED WITH 1.16.1