Skip to content

Latest commit

 

History

History
 
 

setup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Installation

One of the following ways can used to install Ruby and RoR

Note - If you are unable to install Ruby due to some reason, you can still participate in bootcamp with the help of GitHub codespaces.

Once you have setup a development environment using one of the above methods, you should have rvm, node and yarn installed. You can verify your installation with the following commands.

rvm --version
node --version # >= v16
yarn --version  # >= 1.22.19

RVM

RVM allows you to easily install, manage and work with multiple ruby environments.

  • Install Ruby (3.0.5)
rvm install ruby-3.0.5
rvm --default use 3.0.5
  • Create and use a gemset week<n> where n is the session number.
rvm gemset create week_2
rvm use 3.0.5@week_2

A gemset is an isolated ruby setup. For example, you can isolate two projects using Rails 5 and Rails 6 from each other using a gemset. NOTE: Always switch to the appropriate gemset when working on a project. You can use a project rvmrc to automate this process.

  • Install Bundler (2.2.33) and Rails (7.0.4)
gem install bundler --version 2.2.33
gem install rails --version 7.0.4