jruby-gem-redmine-1.1.diff

Toshi MARUYAMA, 2011-07-15 13:27

Download (675 Bytes)

View differences:

config/environment.rb
17 17
  # Not available
18 18
end
19 19

  
20
# Quick patch to suppress the warning message from RubyGems 1.3.6
21
if Gem::VERSION >= "1.3.6"
22
  module Rails
23
    class GemDependency
24
      def requirement
25
        r = super
26
        (r == Gem::Requirement.default) ? nil : r
27
      end
28
    end
29
  end
30
end
31

  
20 32
Rails::Initializer.run do |config|
21 33
  # Settings in config/environments/* take precedence those specified here
22 34