[Ruby] rails tutorial 第1章

1 minute read


I will post the process of progressing the rails tutorial by myself.

I touched on words that I didn’t understand as I proceeded, errors that clogged up, etc.

Please point out any mistakes as they are the outputs of individual learning.

Since this is my first post, I think there are many places that are difficult to read, but please forgive me.

Chapter 1 from zero to deploy

1.2.2 Install Rails

Q.. What was the installation instruction for yarm? A.. It seems to be a program that manages the dependency of JavaScript software (javascript package manager)

1.3.1 Bundler

Error occurred!!

Immediately encountered an error during bundle install

Error encountered

[!] There was an error parsing `Gemfile`: Illformed requirement ["-> 3.2.1"]. Bundler cannot continue.

 # from C:/environment/hello_app/Gemfile:36
 # -------------------------------------------
 # # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
 > gem'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
 # source'https://rubygems.org'
 # -------------------------------------------


 # from
↑ The installation failed part is displayed, so fix it

1.4 Git version control

Digression I made a mistake in the name of the branch, but I could easily change it git branch -m the name you want to change

At the end

There was no point to stumble to that point.

References Ruby on Rails Tutorial