Fix tests and docker build

Fixes #914.
This commit is contained in:
Thibaut Courouble 2018-11-04 08:54:19 -05:00
parent 8ecb9f37be
commit 23c147dde7
2 changed files with 2 additions and 3 deletions

View file

@ -3,6 +3,7 @@
require 'bundler/setup' require 'bundler/setup'
require 'thor' require 'thor'
Bundler.require :default
$LOAD_PATH.unshift 'lib' $LOAD_PATH.unshift 'lib'
task :default do task :default do
@ -13,8 +14,6 @@ end
namespace :assets do namespace :assets do
desc 'Compile all assets' desc 'Compile all assets'
task :precompile do task :precompile do
Bundler.require
load 'tasks/docs.thor' load 'tasks/docs.thor'
DocsCLI.new.prepare_deploy DocsCLI.new.prepare_deploy

View file

@ -1,5 +1,5 @@
require 'bundler/setup' require 'bundler/setup'
Bundler.require :docs Bundler.require :default, :docs
require 'active_support' require 'active_support'
require 'active_support/core_ext' require 'active_support/core_ext'