summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rwxr-xr-xRakefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 16261bf8ae2..85fff2d51eb 100755
--- a/Rakefile
+++ b/Rakefile
@@ -3,11 +3,10 @@
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
-require 'knapsack'
relative_url_conf = File.expand_path('../config/initializers/relative_url', __FILE__)
require relative_url_conf if File.exist?("#{relative_url_conf}.rb")
Gitlab::Application.load_tasks
-Knapsack.load_tasks
+Knapsack.load_tasks if defined?(Knapsack)