Skip to the workspace
Pebellslearn by building
Learn a Programming Language  ›  Capstone Project

Node.js and Ruby — Reading the Languages You Meet

JavaScript / Node.js 12 minA DevOps engineer writes one language well and reads the others, recognising each ecosystem by its signature file and using its own install and build commands.

devops / Node.js and Ruby — Reading the Languages You Meet

Explore each scene at your own pace.

01 · The rule

The rule

Node.js and Ruby — Reading the Languages You Meet

You join a team and open three repositories: the web frontend, an old deployment tool and a config-management project. None of them is in the language you know best. You do not have to master them all; you need to recognise what you are looking at and run it correctly.

The rule

Master one language; learn to read the others you meet.

Pick one language to write well, often Python or Go. Then build reading fluency in the others that turn up in operations work:

JavaScript on Node.js. Node.js runs JavaScript outside the browser. Almost every modern frontend is built with Node tools, so build pipelines run npm commands. A project's package.json lists its dependencies and named scripts:

{
  "name": "notes-web",
  "scripts": { "build": "vite build", "test": "vitest run" },
  "dependencies": { "vue": "^3.4.0" }
}

npm ci installs exactly what the lock file pins, which is what a build server should use, and npm run build runs the build script above. Many serverless platforms also run Node functions.

Ruby. Ruby shows up in older but still common tools: Chef recipes, Vagrantfiles and Homebrew formulas are all written in it. Dependencies are listed in a Gemfile and installed with bundle install.

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.