ruby-on-rails

# Step 1: Create a new Rails application
rails new MyApp

# Step 2: Move into the application directory
cd MyApp

# Step 3: Generate a scaffold for a model named 'Post' with title and body attributes
rails generate scaffold Post title:string body:text

# Step 4: Run a migration to create the 'posts' table in the database
rails db:migrate

# Step 5: Start the Rails server
rails server