Sha256: 6d0db3454048078006eb9972ea455144f0a52681511fe041b6a520d2887cc71e

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

[![Gem Version](https://badge.fury.io/rb/itamae-plugin-recipe-anyenv.svg)](http://badge.fury.io/rb/itamae-plugin-recipe-anyenv)
# Itamae::Plugin::Recipe::Anyenv

Itamae plugin to install anyenv

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'itamae-plugin-recipe-anyenv'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install itamae-plugin-recipe-anyenv

## Usage

System wide anyenv installation

### Recipe

```ruby
# your recipe
include_recipe "anyenv::system"
```

### Node

Use this with `itamae -y node.yml`

```yml
anyenv:
  anyenv_root: "/path/to/anyenv"
  install_envs:
    - rbenv
    - exenv
  install_versions:
    - rbenv:
      - 2.2.2
    - exenv:
      - 1.0.5
```

### .bashrc

Recommend to append this to .bashrc in your server.

```bash
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](http://opensource.org/licenses/MIT).

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
itamae-plugin-recipe-anyenv-0.1.12 README.md
itamae-plugin-recipe-anyenv-0.1.11 README.md
itamae-plugin-recipe-anyenv-0.1.10 README.md