crosstie

Crossties supporting Rails

crossties

Contain your development. Crossties, small boxes that keeps the Rails in place. A metaphore of using containers as a supportive tool to develop Rails.

A railroad tie, crosstie, railway tie or railway sleeper is a rectangular support for the rails in railroad tracks. Generally laid perpendicular to the rails, ties transfer loads to the track ballast and subgrade, hold the rails upright and keep them spaced to the correct gauge. – Wikipedia

Background

Insprired by RailsConf 2022 - Keynote: The Success of Ruby on Rails by Eileen Uchitelle. In the talk there is a part about contributing to Rails and looking at the development_dependencies_install there are two ways, The easy way. “We supply the container that runs Codespaces and you can use that with VSCode” And the hard way. “It took me more than 12 hours to get Ruby 3.1 and MySQL to play nice!”.

Goal: run container locally with the stuff needed for you and your favorite IDE to contribute to rails.

Read the code github repo