Note that I stumbled upon building the Rails environment

Building a rails environment with Rails girls 3-4. Install Ruby using rbenv: I stumbled on it, so make a note

$rbenv install 2.7.0

And type the command

The following versions contain `2.7.0' in the name:
See all available versions with `rbenv install --list'.
If the version you need is missing, try upgrading ruby-build:
  cd /Users/username/.rbenv/plugins/ruby-build && git pull && cd -

That's right.

rbenv install --list

If you check with


Certainly not

brew upgrade ruby-build

I get the same error when I try. If you look closely at the first error statement

 cd /Users/username/.rbenv/plugins/ruby-build && git pull && cd -

He wrote something that he should bother to do. So

 cd /Users/username/.rbenv/plugins/ruby-build
git pul
rbenv install 2.7.0

When you hit

Installed ruby-2.7.0 to /Users/username/.rbenv/versions/2.7.0

did it.

Recommended Posts

Note that I stumbled upon building the Rails environment
[Beginner] I stumbled upon launching a project with Rails6
What I stumbled upon in the ActiveModel :: Serializer test
I stumbled when I tried using neo4j in the jenv environment, so make a note
[Docker] List of errors that occurred when building the environment
[Rails] I tried deleting the application
The story that I struggled because I couldn't do "Rails db: migrate".
A note of what I stumbled upon and noticed in catching up with Laravel from Rails
Problems I was addicted to when building the digdag environment with docker
Launching the production environment with docker + rails (ver5.2) and errors that occurred
Prepare the format environment with "Rails" (VScode)
Prepare the security check environment for Rails 6
I stumbled upon Netbeans + JDBC + Amazon Athena
Note that I touched Android's SQLiteOpenHelper lightly
[Rails] Reset the database in the production environment
What I stumbled upon when installing Laravel-filemanager
[Rails] I want to reset everything because the data in the local environment is strange! What to do before that
[When using MiniMagick] A memorandum because I stumbled in the CircleCI test environment.
I rewrote the Rails tutorial test with RSpec
[Rails] I tried to raise the Rails version from 5.0 to 5.2
The code I used to connect Rails 3 to PostgreSQL 10
I summarized the naming conventions for each Rails
[Rails] Building an environment for developing web applications
A note about the Rails and Vue process
Rails The concept of view componentization of Rails that I want to convey to those who want to quit