Sha256: 8601b52262968ed3759f46a299558d7513cfb58014fba2b12b3ddd2097910f19

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

# Don't load anything when running the gems:* tasks.
# Otherwise, hoptoad_notifier will be considered a framework gem.
# https://thoughtbot.lighthouseapp.com/projects/14221/tickets/629
unless ARGV.any? {|a| a =~ /^gems/}
  Dir[File.join(RAILS_ROOT, 'vendor', 'gems', 'errornot_notifier-*')].each do |vendored_notifier|
    $: << File.join(vendored_notifier, 'lib')
  end

  require 'errornot_notifier/tasks'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
errornot_notifier-1.0.1 generators/errornot/templates/errornot_notifier_tasks.rake