Sha256: f88d68fdb6783b7133f47a3aeef06ac5b5d156536d6798af14e0d4dcff4c6d9e

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

set :rbenv_path, "$HOME/.rbenv"

task :'rbenv:load' do
  comment 'Loading rbenv'
  command "export RBENV_ROOT='#{fetch(:rbenv_path)}'"
  command "export PATH='#{fetch(:rbenv_path)}/bin:$PATH'"
  command %(
    if ! which rbenv >/dev/null; then
      echo "! rbenv not found"
      echo "! If rbenv is installed, check your :rbenv_path setting."
      exit 1
    fi
  )
  command 'eval "$(rbenv init -)"'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mina-1.0.0.beta2 tasks/mina/rbenv.rb
mina-1.0.0.beta1 tasks/mina/rbenv.rb