From 23c147dde75e56aa61b772d3aa3d13b2657d97a4 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 4 Nov 2018 08:54:19 -0500 Subject: [PATCH] Fix tests and docker build Fixes #914. --- Rakefile | 3 +-- lib/docs.rb | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 6422123a..705c6ec1 100644 --- a/Rakefile +++ b/Rakefile @@ -3,6 +3,7 @@ require 'bundler/setup' require 'thor' +Bundler.require :default $LOAD_PATH.unshift 'lib' task :default do @@ -13,8 +14,6 @@ end namespace :assets do desc 'Compile all assets' task :precompile do - Bundler.require - load 'tasks/docs.thor' DocsCLI.new.prepare_deploy diff --git a/lib/docs.rb b/lib/docs.rb index 03071274..95168b55 100644 --- a/lib/docs.rb +++ b/lib/docs.rb @@ -1,5 +1,5 @@ require 'bundler/setup' -Bundler.require :docs +Bundler.require :default, :docs require 'active_support' require 'active_support/core_ext'