instiki/vendor/rails/actionmailer/lib/action_mailer/vendor.rb

15 lines
304 B
Ruby
Raw Normal View History

# Prefer gems to the bundled libs.
require 'rubygems'
begin
gem 'tmail', '~> 1.1.0'
rescue Gem::LoadError
$:.unshift "#{File.dirname(__FILE__)}/vendor/tmail-1.1.0"
end
begin
gem 'text-format', '>= 0.6.3'
rescue Gem::LoadError
$:.unshift "#{File.dirname(__FILE__)}/vendor/text-format-0.6.3"
end