Muscle Ruby on Rails Day 1 ~ Environment Construction ~

What is Ruby

--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

What is Ruby on Rails?

--A web application framework written in the Ruby programming language

Environment construction-preparation

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.

Environment construction-procedure

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

Muscle Ruby on Rails Day 1 ~ Environment Construction ~
Ruby on Rails 6.0 environment construction memo
Rails engineer environment construction ruby2.7.1
Rails environment construction Rails5.2.1 ruby2.5.1 Catalina
[Personal memo] Ruby on Rails environment construction (Windows)
Ruby on Rails development environment construction on M1 Mac
Deploy to Ruby on Rails Elastic beanstalk (Environment construction)
[Environment construction Mac] Ruby on Rails (+ Webpacker handles errors)
Rails on Docker environment construction procedure
From 0 to Ruby on Rails environment construction [macOS] (From Homebrew installation to Rails installation)
[Procedure 1 for beginners] Ruby on Rails: Construction of development environment
[Environment construction] Get the Ruby on Rails 6 development environment within 1 hour
[Docker] Development environment construction Rails6 / Ruby2.7 / MySQL8
CentOS8.2 (x86_64) + ruby2.5 + Rails5.2 + MariaDB (10.3.17) environment construction
Ruby on Rails --From environment construction to simple application development on WSL2
Ruby on Rails development environment construction with Docker + VSCode (Remote Container)
Rails Docker environment construction
Ruby on Rails Elementary
Ruby on Rails basics
Ruby On Rails Association
[Ruby on Rails] Let's build an environment on mac
Environment construction of Ruby on Rails from 0 [Cloud9] (From Ruby version change to Rails installation)
[Error] Switch environment construction to use Ruby on Rails oss (open source)
Rails6 development environment construction [Mac]
Build a Ruby on Rails development environment on AWS Cloud9
Portfolio creation Ruby on Rails
Ruby on rails learning record -2020.10.04
Docker the development environment of Ruby on Rails project
[Ruby on Rails] Debug (binding.pry)
Ruby on rails learning record -2020.10.05
Ruby on Rails basic learning ①
[Ruby on Rails] about has_secure_password
Ruby on rails learning record-2020.10.07 ②
Commentary on partial! --Ruby on Rails
Ruby on rails learning record-2020.10.07 ①
Cancel Ruby on Rails migration
Offline environment construction Ruby edition
[Super easy] Ruby environment construction
Ruby on rails learning record -2020.10.06
[Rails / MySQL] Mac environment construction
[Ruby on Rails] From MySQL construction to database change
Ruby on Rails Basic Memorandum
Difficulties in building a Ruby on Rails environment (Windows 10) (SQLite3)
Rails + MySQL environment construction with Docker
Ruby on Rails Overview (Beginner Summary)
[Ruby on Rails] Read try (: [],: key)
Installing Ruby + Rails on Ubuntu 18.04 (rbenv)
[Ruby on Rails] Introduced paging function
Ruby environment construction summary ~ mac version ~
Basic knowledge of Ruby on Rails
Progate Ruby on Rails5 Looking Back
How to use Ruby on Rails
[Ruby on Rails] Add / Remove Columns
Ruby on Rails Japanese-English support i18n
[Ruby on Rails] CSV output function
[Ruby on Rails] What is Bcrypt?
Ruby On Rails devise routing conflict
[Ruby on Rails] Comment function implementation
[Ruby on Rails] DM, chat function
[Ruby on Rails] Convenient helper method
Troublesome Rails environment construction flow [Windows 10]