From 51de32b2ec8543a91a8a37013445455dd1d02115 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Fri, 21 Oct 2016 17:19:44 -0500 Subject: Lazy-load blade for actioncable tests; no blade on JRuby. --- actioncable/Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actioncable/Rakefile') diff --git a/actioncable/Rakefile b/actioncable/Rakefile index 648de57004..87d443919c 100644 --- a/actioncable/Rakefile +++ b/actioncable/Rakefile @@ -1,7 +1,6 @@ require "rake/testtask" require "pathname" require "action_cable" -require "blade" dir = File.dirname(__FILE__) @@ -25,6 +24,7 @@ namespace :test do end task :integration do + require "blade" if ENV["CI"] Blade.start(interface: :ci) else @@ -36,6 +36,7 @@ end namespace :assets do desc "Compile Action Cable assets" task :compile do + require "blade" Blade.build end end -- cgit v1.2.3