RB sample file

rb_sample_file_2MB.rb

2.0 MB application/x-ruby SHA256 verified
File details
Filenamerb_sample_file_2MB.rb
Size2.0 MB (2097187 bytes)
MIME typeapplication/x-ruby
Extension.rb
SHA25671498e3a839e9ef6b1b429eeaf2036389f12c8ab4249cbe3b36cd4ab538c6645
Download commands

Use in scripts and tests

curl -L -o rb_sample_file_2MB.rb \
  https://samplefile.com/samples/download/code/rb/rb_sample_file_2MB.rb/
More RB files

Other RB Sample Files

Filename Size SHA256 Download
rb_sample_file_1MB.rb 1.0 MB 906e292b9c626977… Download
rb_sample_file_200KB.rb 200.0 KB 5b2435679cbbd820… Download
rb_sample_file_500KB.rb 500.0 KB 0a2f098edc059d7b… Download
rb_sample_file_50KB.rb 50.0 KB 9e98fec6a329a78f… Download
rb_sample_file_5MB.rb 5.0 MB 247e28f2af92e793… Download
View all RB files →
Learn more

RB Guides and Comparisons

Ruby vs Python Files

Compare Ruby and Python source formats for scripting, automation, and web stacks.

Open comparison

API Error Taxonomy for File Pipelines

Define stable, actionable error classes for upload and processing APIs.

Read guide

Case Study: CSV Parser Failure on Malformed Quotes

A parser reliability incident that exposed brittle assumptions in CSV ingestion and schema validation.

Read guide

Case Study: MIME Mismatch Blocking Legitimate Uploads

A production-style incident where strict type checks rejected real user files and how policy was corrected.

Read guide