0.0
No commit activity in last 3 years
No release in over 3 years
Serverkit plug-in for rbenv
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.9
~> 10.0

Runtime

>= 0.6.2
>= 2.31.1
 Project Readme

serverkit-rbenv

Serverkit plug-in for rbenv.

  • Install
  • Resource
    • rbenv_ruby
      • Attributes
      • Example

Install

gem "serverkit-rbenv"

Resource

rbenv_ruby

Make sure the specified version of Ruby is installed with rbenv.

Attributes

  • version - Installed Ruby version (required) (e.g. "2.2.0")
  • global - Pass true to make it global (default: false)
  • rbenv_executable_path - Path to rbenv executable (default: $HOME/.rbenv/bin/rbenv or rbenv)
  • user - user name (required if dependencies is true)
  • dependencies - Pass true to install rbenv, ruby-build, their dependencies, profile script
  • profile_path - Where to append init script for rbenv (required if dependencies is true)

Example

resources:
  - type: rbenv_ruby
    version: 2.2.0
    global: true
    rbenv_executable_path: /home/foo/.rbenv/bin/rbenv
    user: foo
    dependencies: true
    profile_path: /home/foo/.bash_profile

rbenv_dependent_packages

Install denpendent packages to install rbenv.

Example

resources:
  - type: rbenv_dependent_packages

rbenv_profile

Append rbenv init lines into profile file.

Attributes

  • profile_path - path to profile file (default: .bash_profile path if user specified)
  • user - user name (required)

Example

resources:
  - type: rbenv_profile
    user: foo

rbenv_rbenv

Install rbenv into home directory.

Attributes

  • user - user name (required)

Example

resources:
  - type: rbenv_rbenv
    user: foo

rbenv_ruby_build

Install ruby-build into home directory.

Attributes

  • user - user name (required)

Example

resources:
  - type: rbenv_ruby_build
    user: foo