You want to copy and paste the output of the following command and paste it here. Git config -global user.email -t ed25519 -C next step is to take the newly generated SSH key and add it to your Github account. Replace my name and email address in the following steps with the ones you used for your Github account.
If you don't already have a Github account, make sure to register.
We'll be using Git for our version control system so we're going to set it up to match our Github account. # Install yarn for Rails jsbundling/cssbundling or webpacker Then we can install the latest Node.js for handling Javascript in our Rails apps: asdf install nodejs 18.15.0 To install Ruby and set the default version, we'll run the following commands: asdf install ruby 3.2.1Ĭonfirm the default Ruby version matches the version you just installed. For Rails, we can install Ruby and Node.js for our frontend Javascript. Then we can install ASDF plugins for each language we want to use. "$HOME/.asdf/completions/asdf.bash"' > ~/.bashrc First you install asdf, and then add it to your shell:Įcho '. Installing asdf is a simple two step process. The reason we use ASDF over rbenv, rvm or others is that ASDF can manage other languages like Node.js too. Next we're going to be installing Ruby using a version manager called ASDF. Sudo apt-get install git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev Open your Terminal and run the following commands to install them. The first step is to install dependencies for compiling Ruby.