lib/rubber/recipes/rubber.rb in axtro-rubber-1.2.1 vs lib/rubber/recipes/rubber.rb in axtro-rubber-1.2.2

- old
+ new

@@ -44,15 +44,9 @@ allow_optional_tasks(self) on :load, "rubber:init" required_task :init do - # Require cap 2.4 since we depend on bugs that have been fixed - require 'capistrano/version' - if Capistrano::Version::MAJOR < 2 || Capistrano::Version::MINOR < 4 - fatal "rubber requires capistrano 2.4.0 or greater" - end - set :rubber_cfg, Rubber::Configuration.get_configuration(RUBBER_ENV) set :rubber_env, rubber_cfg.environment.bind() set :rubber_instances, rubber_cfg.instance set :cloud, Rubber::Cloud::get_provider(rubber_env.cloud_provider || "aws", rubber_env, self)