How Setup Ruby on Rails on Windows Server 2025

Ruby on Rails (Rails) is a popular framework for building modern web applications. On Windows Server 2025, you can install it by setting up Ruby, Node.js, and other dependencies before creating a new Rails project.

Step 1: Install Ruby

Download the RubyInstaller for Windows from the official website:

Choose the latest Ruby+Devkit version and install it. During installation, check the option:

Add Ruby executables to your PATH

After installation, verify Ruby:

ruby -v

Step 2: Install Node.js

Rails requires a JavaScript runtime. Download and install Node.js from the official site:

After installation, check Node.js and npm:

node -v
npm -v

Step 3: Install Yarn (Optional but Recommended)

Yarn is often used in Rails projects to manage JavaScript dependencies:

npm install --global yarn

Verify Yarn:

yarn -v

Step 4: Install Rails

Use the Ruby package manager (gem) to install Rails globally:

gem install rails

Verify the installation:

rails -v

Step 5: Create a New Rails Project

Navigate to the folder where you want your application and create a new Rails project:

rails new myapp
cd myapp

Start the Rails development server:

bin\rails server

Open your browser and visit:

👉 http://localhost:3000

You should see the Rails welcome page.

Ruby on Rails is now set up on Windows Server 2025. You can start developing modern web applications by creating controllers, models, and views. For more Windows Server and Linux setup tutorials, visit dropvps.com.

Share:

More Posts

How to Install Maven on macOS 2025

What you will read?1 Check for Java Installation2 Install Homebrew (If Not Installed)3 Install Maven via Homebrew4 Verify Environment Variables (Optional)5 Create a Sample Maven

How to Use Google SMTP Server

What you will read?1 Step 1: Enable SMTP Access in Gmail2 Step 2: Secure Connection with TLS3 Step 3: Send an Email via SMTP4 Step

how to install wine on RHEL

What you will read?1 Check RHEL version and CPU architecture2 Update system and install base tools3 Verify subscription and enable CodeReady Builder4 Enable EPEL repository5

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments