Use require instead of require_library_or_gem.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9059 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7edf345fbe
commit
41fffe1b97
|
@ -13,7 +13,7 @@ require 'redmine/wiki_formatting'
|
|||
require 'redmine/scm/base'
|
||||
|
||||
begin
|
||||
require_library_or_gem 'RMagick' unless Object.const_defined?(:Magick)
|
||||
require 'RMagick' unless Object.const_defined?(:Magick)
|
||||
rescue LoadError
|
||||
# RMagick is not available
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue