diff --git a/Rakefile b/Rakefile index 32a7b70..0a6b7c0 100644 --- a/Rakefile +++ b/Rakefile @@ -1,3 +1,9 @@ +begin + load 'local.rake' +rescue LoadError + # nothing +end + $SPB_ENV = ENV.fetch('SPB_ENV', 'local') ssh_config_file = "config/#{$SPB_ENV}/ssh_config" @@ -12,12 +18,6 @@ if Chake::VERSION < '0.4.3' fail "Please upgrade to chake 0.4.3+" end -begin - load 'local.rake' -rescue LoadError - # nothing -end - config = YAML.load_file(config_file) ips = YAML.load_file(ips_file) $nodes.each do |node| -- libgit2 0.21.2