Skip to content

Latest commit

 

History

History
55 lines (45 loc) · 1.29 KB

File metadata and controls

55 lines (45 loc) · 1.29 KB

Installation Guide

Windows

Install Ruby

  1. Download the RubyInstaller for Windows.
  2. Install Ruby version 3.2.x (32-bit).
  3. Run the installer and proceed with the default options.
  4. Ensure the “Run ‘ridk install’” checkbox is selected during installation.
  5. When prompted by the MSYS2 installer:
    • Enter 1 and press Enter when asked the first time.
    • Press Enter when asked again.

Install Rails

  1. Open Command Prompt and run:
    gem install rails bundler --no-document
  2. Verify the installation by checking the Rails version:
    rails --version

Ubuntu

sudo apt-get update
sudo apt install ruby-full -y
gem install rails -v 7.2.0

macOS

brew install ruby
gem install rails -v 7.2.0

Verify Installation

  1. Create a new Rails application:
    rails new myapp
  2. Navigate into the app directory:
    cd myapp
  3. Start the Rails server:
    rails server
  4. Open your browser and visit: http://localhost:3000
    • You should see the Rails logo confirming a successful installation.