Sha256: 226e7cf2b9179cf032f814776d2c32b36cb04c67b5a894be63c597f71be6b492
Contents?: true
Size: 590 Bytes
Versions: 1
Compression:
Stored size: 590 Bytes
Contents
module Caco::Rbenv class InstallVersion < Trailblazer::Operation step Subprocess(Class.new(Caco::Executer)), input: ->(_ctx, version:, **) {{ command: ". /etc/profile && /opt/rbenv/bin/rbenv versions|egrep --color \"^..#{version}(\s|$)\"", }}, Output(:failure) => Id(:install_version), id: :install_version_checker step Subprocess(Class.new(Caco::Executer)), input: ->(_ctx, version:, **) {{ command: ". /etc/profile && /opt/rbenv/bin/rbenv install #{version}", }}, id: :install_version, magnetic_to: nil end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caco-0.1.0 | lib/caco/rbenv/install_version.rb |