fishburn

fishburn

Agile Web Development with Rails 7.2: Terminal restart after rbenv install 3.3.5? (Page 9)

(I know the instructions used v3.3.5, but I just grabbed v3.3.6 since it’s the latest.)

After installing rbenv & ruby-build per the instructions (bottom of page 8, top of page 9), I restarted my Terminal. Just a note: I never type exit + Return (as suggested on the page) to quit the terminal. I always use Command+Q, and just click the icon in the dock to relaunch.

I then installed Ruby 3.3.6 with rbenv install 3.3.6, then ran rbenv global 3.3.6. Those were the last two necessary instructions for my set up until I got to the instruction, “Whichever path you take, run the following command to see which version of Ruby you’re working with: ruby -v”. I ran that, expecting to see 3.3.6, but saw 2.6.10p210 (still). It turns out that after rbenv install... and rbenv global..., I needed to restart my terminal again.

Not sure if that goes for everyone, but it might be worth a mention to restart the terminal if the version expected isn’t the version that appears/reports.

Popular Pragmatic topics Top

Alexandr
Hi everyone! There is an error on the page 71 in the book “Programming machine learning from coding to depp learning” P. Perrotta. You c...
New
sdmoralesma
Title: Web Development with Clojure, Third Edition - migrations/create not working: p159 When I execute the command: user=> (create-...
New
jdufour
Hello! On page xix of the preface, it says there is a community forum "… for help if your’re stuck on one of the exercises in this book… ...
New
JohnS
I can’t setup the Rails source code. This happens in a working directory containing multiple (postgres) Rails apps. With: ruby-3.0.0 s...
New
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |> handle_event() |> render() but the correc...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
adamwoolhether
I’m not quite sure what’s going on here, but I’m unable to have to containers successfully complete the Readiness/Liveness checks. I’m im...
New
AufHe
I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113. Iteration A1 - Seeing the list of prod...
New
andreheijstek
After running /bin/setup, the first error was: The foreman' command exists in these Ruby versions: That was easy to fix: gem install fore...
New
New

Other popular topics Top

New
New
AstonJ
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New
Rainer
Not sure if following fits exactly this thread, or if we should have a hobby thread… For many years I’m designing and building model air...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
PragmaticBookshelf
Author Spotlight Rebecca Skinner @RebeccaSkinner Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New
husaindevelop
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New

Latest in PragProg

View all threads ❯