sahilrajput03 / learn-rubyOnRails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README - Abandoned temporarily..

A command like gem install jekyll bundler installs both Jekyll and Bundler gems globally on your system. When you use gem install, it installs the specified gem(s) into the system's global gem repository, making them available system-wide for all users and projects.

Ensure that you have the latest versions of Bundler and RubyGems installed on your system by running: sudo gem update --system.

# Create a new app
rails new demo
cd demo
rails generate scaffold post title:string content:text

Learning sources:

Installing rails and creating a backend API project

# Install Rails using gem (Ruby's package manager)
gem install rails

# Create a new Rails project
rails new my_api --api

About