Module: Capstrap::Core

Defined in:
lib/capistrano/ext/capstrap/core.rb

Class Method Summary collapse

Class Method Details

.load_into(configuration) ⇒ Object



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
# File 'lib/capistrano/ext/capstrap/core.rb', line 171

def self.load_into(configuration)
  configuration.load do

    namespace :core do
      desc "Installs entire toolchain."
      task :default do
        unless rvm_installed?
          apt.install.rvm_depends
          rvm.install.system_base
        end
        apt.install.mri_depends
        rvm.install.ree187
        rvm.default.ree187
      end
    end
  end
end