Module: Capstrap::Core

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

Class Method Summary collapse

Class Method Details

.load_into(configuration) ⇒ Object



142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# File 'lib/capistrano/ext/capstrap/core.rb', line 142

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