No commit activity in last 3 years
No release in over 3 years
Easily set up an ubuntu instance with a Ruby environment using capistrano
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Capistrano Ubuntu Ruby Setup

When initially deploying you should not have to install prerequisites to use Ruby but let the automatic deployment take care of this. This gem let's you install Ruby from scratch using Rbenv under the hood.

Installation

Add these gems to your application's Gemfile:

gem 'capistrano', '~> 3.6'
gem 'capistrano-rbenv', '~> 2.0'
gem 'capistrano-ubuntu-ruby-setup'

And then execute:

$ bundle

Setup your deploy.rb according to capistrano-rbenv and add the following requires to your Capfile:

require 'capistrano/rbenv'
require 'capistrano/rbenv_install'
require 'sshkit/sudo'
require 'capistrano/ubuntu_ruby_setup'

Run bundle exec cap <environment> deploy and profit.

License

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