Project

General

Profile

Actions

Patch #43897

closed

Use `bin/rails` instead of `rake` in documentation

Added by Go MAEDA 24 days ago. Updated 15 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Documentation
Target version:

Description

Several documents under doc/ use commands such as rake, bundle exec rake, or the rails command for running tasks. This patch updates those examples to use bin/rails instead.

bin/rails is the standard command entry point in recent Rails versions. Because it runs commands in the context of the application's own Gemfile and Bundler environment, it eliminates the need for bundle exec, helps reduce environment-related errors, and makes the documented commands easier for users to follow.


Files

Actions

Also available in: Atom PDF