Module: Capstrap::Core

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

Class Method Summary collapse

Class Method Details

.load_into(configuration) ⇒ Object



128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# File 'lib/capistrano/ext/capstrap/core.rb', line 128

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