Permalink
Browse files

Handle dependencies in the gemspec

  • Loading branch information...
sferik committed Mar 2, 2013
1 parent d734a3c commit cdd98b6df56e0cb1c3082aa5972c3dd1433600fc
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/delayed_job.rb
View
@@ -3,10 +3,9 @@
require 'delayed/message_sending' require 'delayed/message_sending'
require 'delayed/performable_method' require 'delayed/performable_method'
# PerformableMailer is compatible with ActionMailer 3 (and possibly 3.1)
if defined?(ActionMailer) if defined?(ActionMailer)
require 'action_mailer/version' require 'action_mailer/version'
require 'delayed/performable_mailer' if ActionMailer::VERSION::MAJOR >= 3 require 'delayed/performable_mailer'
end end
require 'delayed/yaml_ext' require 'delayed/yaml_ext'

0 comments on commit cdd98b6

Please sign in to comment.