Top Level Namespace

Defined Under Namespace

Modules: Itamae

Constant Summary collapse

DEFAULT_ANYENV_ROOT =
'/usr/local/anyenv'.freeze

Instance Method Summary collapse

Instance Method Details

#run(attributes, username = ENV['USER']) ⇒ Object



3
4
5
6
7
8
9
10
11
12
# File 'lib/itamae/plugin/recipe/anyenv.rb', line 3

def run(attributes, username = ENV['USER'])
  init(username)

  clone_anyenv
  clone_anyenv_update

  directory "#{@root_path}/envs"

  install_envs(attributes)
end