lib/raven/tasks.rb in sentry-raven-0.6.1 vs lib/raven/tasks.rb in sentry-raven-0.7.1

- old
+ new

@@ -3,8 +3,11 @@ require 'raven/cli' namespace :raven do desc "Send a test event to the remote Sentry server" task :test, [:dsn] do |t, args| + if defined? Rails + Rake::Task["environment"].invoke + end Raven::CLI::test(args.dsn) end end