remove unecessary parts

- remove postgresql and redis install
- install ruby 2.7.5 and 3.0.3 specifically
trunk
Thomas Riboulet 2 years ago
parent 6d791b7a01
commit 390c550034

@ -108,7 +108,7 @@ Programming languages, package managers, and configuration:
* [asdf-vm] for managing programming language versions
* [Bundler] for managing Ruby libraries
* [Node.js] and [npm], for running apps and installing JavaScript packages
* [Ruby] stable for writing general-purpose code
* [Ruby] stable for writing general-purpose code : 2.7.5 and 3.0.3
* [Yarn] for managing JavaScript packages
[Bundler]: http://bundler.io/
@ -121,13 +121,7 @@ Programming languages, package managers, and configuration:
Databases:
* [Postgres] for storing relational data
* [Redis] for storing key-value data
[Postgres]: http://www.postgresql.org/
[Redis]: http://redis.io/
It should take less than 15 minutes to install (depends on your machine).
No databases installed, we rely on Docker containers for these.
Customize in `~/.laptop.local`
------------------------------

11
mac

@ -137,9 +137,6 @@ brew "coreutils"
brew "yarn"
cask "gpg-suite-no-mail"
# Databases
brew "postgres", restart_service: :changed
brew "redis", restart_service: :changed
EOF
fancy_echo "Update heroku binary ..."
@ -180,8 +177,9 @@ install_asdf_language() {
fi
}
fancy_echo "Installing latest Ruby ..."
install_asdf_language "ruby"
fancy_echo "Installing Rubies ..."
asdf install ruby 2.7.5
asdf install ruby 3.0.3
gem update --system
number_of_cores=$(sysctl -n hw.ncpu)
bundle config --global jobs $((number_of_cores - 1))
@ -194,3 +192,6 @@ if [ -f "$HOME/.laptop.local" ]; then
# shellcheck disable=SC1090
. "$HOME/.laptop.local"
fi
fancy_echo "Go install Docker"
open https://docs.docker.com/desktop/mac/install/

Loading…
Cancel
Save