Setting Up Ruby
Your next step is to set up Ruby. Central to any Ruby on Rails application is the version of Ruby in which we are running that application. The rails-performance-book application will use the latest Ruby 3.4.x version. Still, it’s a good practice to use a Ruby version manager tool, and I encourage you to do that. Just as we have two popular SQL implementations, we have four popular version manager tools in the Ruby space: asdf,[8] chruby,[9] rbenv,[10] and rvm.[11] rvm is the original Ruby version manager (created in 2009, two years before rbenv), but nowadays, rbenv seems to be more popular. rvm is heavier, but also more versatile; rbenv is, in comparison, more lightweight and predictable. Neither of them is a wrong choice, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access