Capistrano rbenv
Chef
Capistrano rbenv | Chef | |
---|---|---|
2 | 2 | |
201 | 7,483 | |
0.0% | 0.6% | |
0.0 | 9.6 | |
over 3 years ago | 3 days ago | |
Ruby | Ruby | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Capistrano rbenv
-
Rails 7 new production install: from zero to deploy (Ubuntu 20.04 edition)
set :application, "APPNAME" set :repo_url, "[email protected]:USERNAME/APPNAME.git" # Also works with non-github repos, I roll my own gitolite server set :deploy_to, "/home/deploy/#{fetch :application}" set :rbenv_prefix, '/usr/bin/rbenv exec' # Cf issue: https://github.com/capistrano/rbenv/issues/96 append :linked_dirs, 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', '.bundle', 'public/system', 'public/uploads'
-
Rails Capistrano production deploy runs a wrong command line which leads to an error 'invalid option --daemon'
# Load DSL and set up stages require "capistrano/setup" # Include default deployment tasks require "capistrano/deploy" require 'capistrano/rails' require 'capistrano/bundler' require 'capistrano/rbenv' require 'capistrano/puma' install_plugin Capistrano::Puma::Daemon install_plugin Capistrano::Puma # Load the SCM plugin appropriate to your project: # # require "capistrano/scm/hg" # install_plugin Capistrano::SCM::Hg # or # require "capistrano/scm/svn" # install_plugin Capistrano::SCM::Svn # or require "capistrano/scm/git" install_plugin Capistrano::SCM::Git # Include tasks from other gems included in your Gemfile # # For documentation on these, see for example: # # https://github.com/capistrano/rvm # https://github.com/capistrano/rbenv # https://github.com/capistrano/chruby # https://github.com/capistrano/bundler # https://github.com/capistrano/rails # https://github.com/capistrano/passenger # # Load custom tasks from `lib/capistrano/tasks` if you have any defined Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r } My installed gems gem "capistrano", require: false gem "capistrano-rails", require: false gem 'capistrano3-puma', require: false gem 'capistrano-rbenv'
Chef
-
I_suck_and_my_tests_are_order_dependent
my contribution: public_method_that_only_deep_merge_should_use
https://github.com/chef/chef/blob/68dd5f42273f19bc5975c0dc8e...
that was 9 years ago and it was code smell that things were broken apart incorrectly and at some point i rewrote it so that wasn't necessary -- but sometimes you just gotta move the ball down the field, even if you don't get a first down.
-
Ask HN: Codebases with great, easy to read code?
I've found the Chef project (https://github.com/chef/chef) to be high quality and easily readable but I've been working with Chef for like 8 years at this point which might be influencing how I view it.
Hashicorp projects also seem very well done too especially given how extensible they are.
What are some alternatives?
Capistrano - A deployment automation tool built on Ruby, Rake, and SSH.
Centurion - A mass deployment tool for Docker fleets
Puppet - Server automation framework and application
BOSH - Cloud Foundry BOSH is an open source tool chain for release engineering, deployment and lifecycle management of large scale distributed services.
Einhorn
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
Dpl - Dpl (dee-pee-ell) is a deploy tool made for continuous deployment.
Mina - Blazing fast deployer and server automation tool
Ruby-LXC - ruby bindings for liblxc
Logstash - Logstash - transport and process your logs, events, or other data