No commit activity in last 3 years
No release in over 3 years
Itamae plugin to install anyenv
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0
>= 0

Runtime

~> 1.4
 Project Readme

Gem Version

Itamae::Plugin::Recipe::Anyenv

Itamae plugin to install anyenv

Installation

Add this line to your application's Gemfile:

gem 'itamae-plugin-recipe-anyenv'

And then execute:

$ bundle

Or install it yourself as:

$ gem install itamae-plugin-recipe-anyenv

Usage

System wide

System wide anyenv installation

install directory is ANYENV_ROOT enviroment

export ANYENV_ROOT=~/.anyenv

or prease use the direnv

Recipe

# your recipe
include_recipe "anyenv::system"

Node

Use this with itamae -y node.yml

anyenv:
  install_versions:
    rbenv:
      - 2.2.2
    exenv:
      - 1.0.5

.bashrc

Recommend to append this to .bashrc in your server.

export ANYENV_ROOT="/usr/local/anyenv"
export PATH="${ANYENV_ROOT}/.anyenv/bin:$PATH"
if which anyenv > /dev/null; then eval "$(anyenv init -)"; fi

License

The gem is available as open source under the terms of the MIT License.