Sha256: cdceaa09773950b6c7bcd536c8a72a73e838bf08fc896c19b6dca4f4b09c7cea

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

Version Path
mina-1.2.5 tasks/mina/rbenv.rb