Ruby On Rails 2026

From bibbleWiki
Revision as of 02:14, 9 May 2026 by Iwiseman (talk | contribs) (Created page with "=Introduction= Got new job which wanted this skill to poking around to have another go. =Installation= No robot back in 2020 when last I gave this the initial look. It is telling me to use asdf with a specific version. Clearly I need to check this out before doing. For Ubuntu its self it say <syntaxhighlight lang="bash"> sudo apt install -y build-essential libssl-dev libreadline-dev zlib1g-dev libsqlite3-dev </syntaxhighlight> So went with the version of asdf it said bec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

Got new job which wanted this skill to poking around to have another go.

Installation

No robot back in 2020 when last I gave this the initial look. It is telling me to use asdf with a specific version. Clearly I need to check this out before doing. For Ubuntu its self it say

sudo apt install -y build-essential libssl-dev libreadline-dev zlib1g-dev libsqlite3-dev

So went with the version of asdf it said because the second instructions fail because there is no completions directory with the latest release so for asdf

sudo apt install curl git
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
echo '. "$HOME/.asdf/asdf.sh"' >> ~/.bashrc
echo '. "$HOME/.asdf/completions/asdf.bash"' >> ~/.bashrc
source ~/.bashrc

Now for rails went with 3.3.11

asdf plugin add ruby
asdf install ruby 3.3.11
asdf global ruby 3.3.11

And for Bundler and Rails

gem install bundler -v 2.4.19
gem install rails
rails -v Rails 8.1.3