require 'picsolve_docker_builder/nodejs' spec = Gem::Specification.find_by_name 'picsolve_docker_builder' load "#{spec.gem_dir}/lib/tasks/docker.rake" namespace :docker do desc 'prepare the build environment' task :prepare do @docker_builder ||= PicsolveDockerBuilder::NodeJs.new end end