No commit activity in last 3 years
No release in over 3 years
Capistrano plugin for installing rbenv-vars Works with Capistrano 3 (only!). For Capistrano 2 support see: https://github.com/yyuu/capistrano-rbenv
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

 Project Readme

Capistrano::Rbenv::Vars

Capistrano plugin for lightweight rubies management with rbenv.

Works with Capistrano 3 (only). For Capistrano 2 support check this repository (version 1.x of capistrano-rbenv gem).

Installation

Install by adding the following to the Gemfile:

gem 'capistrano', '~> 3.2.1'
gem 'capistrano-rbenv', '~> 2.0' # required
gem 'capistrano-rbenv-vars', '~> 0.1'

then:

$ bundle install

Configuration and usage

The following goes to Capfile:

require 'capistrano/rbenv_vars'

This plugin does not need any setup.

Run:

$ bundle exec cap production deploy

And watch rbenv-vars being installed if neccessary.

Purpose

rbenv is great, but it's even better with its own environment variables. Let capsitrano provision this functionality for you!

More Capistrano automation?

Check out capistrano-plugins github org.

Thanks

@bruno-, @yyuu and the original capistrano-rbenv project for inspiration

License

MIT