rubocop/ruby-style-guide

A community-driven Ruby coding style guide

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 2 minutes ago
Added to GitGenius on September 3rd, 2026
Created on September 12th, 2011
Open Issues & Pull Requests: 73 (+0)
GitHub issues: Enabled
Number of forks: 3,333
Total Stargazers: 16,545 (+0)
Total Subscribers: 494 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.7 hours
Mean response time: 32.8 days
90th percentile: 182.7 days
Tracked items: 13

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 7% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 10
New in 7 days: 0
Closed in 7 days: 1
Avg open age: 1,435 days
Stale 30+ days: 10
Stale 90+ days: 9

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Approved (1)

Most active issues this week

Detailed Description

Ruby Style Guide is a community-driven coding style guide for Ruby that documents best practices and conventions for writing maintainable Ruby code.

The guide addresses the problem of inconsistent code style across Ruby projects by establishing shared conventions grounded in real-world usage rather than idealistic standards. It collects guidelines developed from professional experience, community feedback, and established Ruby programming resources, organized into sections with rationales explaining the reasoning behind each recommendation. The guide acknowledges that practical conventions adopted by working programmers are more likely to be followed than theoretical ideals, and it evolves as Ruby itself changes and new conventions emerge.

Developers should adopt this guide if they want to align their Ruby projects with widely recognized community standards. It suits teams seeking a reference point for code review discussions and style consistency, particularly those using RuboCop, the static analyzer and formatter built directly on these guidelines. The guide provides complementary resources for Rails and RSpec-specific conventions through related style guides.

The project maintains active engagement with the Ruby community through ongoing refinement of guidelines as the language evolves. Contributors regularly update recommendations to reflect changes in Ruby itself and emerging best practices. The guide serves as the foundation for RuboCop's development, creating a direct feedback loop between the documented standards and the tooling that enforces them.