diff options
Diffstat (limited to 'www/redmine/files/patch-config-environment.rb')
-rw-r--r-- | www/redmine/files/patch-config-environment.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/www/redmine/files/patch-config-environment.rb b/www/redmine/files/patch-config-environment.rb new file mode 100644 index 000000000000..09a11fe8761b --- /dev/null +++ b/www/redmine/files/patch-config-environment.rb @@ -0,0 +1,22 @@ +--- config/environment.rb.orig 2011-01-28 03:25:48.000000000 +0100 ++++ config/environment.rb 2011-02-26 21:20:07.000000000 +0100 +@@ -17,6 +17,19 @@ + # Not available + end + ++# Workaround for RubyGems 1.5.0 ++# http://www.redmine.org/issues/7516 ++if Gem::VERSION >= "1.3.6" ++ module Rails ++ class GemDependency ++ def requirement ++ r = super ++ (r == Gem::Requirement.default) ? nil : r ++ end ++ end ++ end ++end ++ + Rails::Initializer.run do |config| + # Settings in config/environments/* take precedence those specified here + |