--Dynamic programming language --Everything is an object --All information chunks, codes can be given properties (instance variables) and actions (methods) --Ruby flexibility --Users can freely change the core part --Block: Expressive function --You can add a block to the method that describes how it behaves. --Blocks are influenced by functional languages
--A web application framework written in the Ruby programming language
Homebrew --Software package management system on Mac --Installs software regardless of package dependencies
rbenv --Ruby version control system --Easily switch between Ruby versions
Ruby --Omitted
Ruby on Rails --Omitted
gem Gem as a Ruby package (also called a library) A package is a collection of useful functions that are part of a program.
bundler bundler is a tool for managing gems, and bundler itself is a type of gem. By using bundler, you can manage gems while maintaining the dependency of multiple gems.
https://qiita.com/TAByasu/items/47c6cfbeeafad39eda07
Note 1(rbenv)
$ ruby -v
When the version does not change with
As a workaround, hit the code below
$ vi ~/.bash_profile
At the bottom
eval "$(rbenv init -)"Add
Finally, hit the following command
$ source ~/.zshrc
Note 2(Rails app launch)
$cd project name
$ rails server
Recommended Posts