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:
Jean-Philippe Lang 2012-03-03 12:41:23 +00:00
parent 7edf345fbe
commit 41fffe1b97
1 changed files with 1 additions and 1 deletions

View File

@ -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