BUNDLE-PLATFORM(1)

πŸ’… bundle-platform(1) β€” General Commands Manual, but make it cute

okay so bestie, welcome to bundle-platform from the General Commands Manual section β€” this is the page that tells you whether your gems and your Ruby are actually vibing with your platform or if it's giving ✨incompatible✨. let's get into it 🫢


πŸŽ€ NAME πŸŽ€

bundle-platform β€” displays platform compatibility information πŸ’…


✨ SYNOPSIS ✨

bundle platform [--ruby]

that's it. that's the whole vibe check πŸ”₯


🌸 DESCRIPTION 🌸

okay so platform pulls info from your Gemfile, your Gemfile.lock, and the Ruby VM itself, and tells you everything about your platform. it's giving "receipts, but make it platform compatibility" πŸ’€

for instance, say you have this Gemfile(5):

source "https://rubygems.org"

ruby "3.1.2"

gem "rack"

if you run bundle platform on Ruby 3.1.2, it displays the following output:

Your platform is: x86_64-linux

Your app has gems that work on these platforms:
* arm64-darwin-21
* ruby
* x64-mingw-ucrt
* x86_64-linux

Your Gemfile specifies a Ruby version requirement:
* ruby 3.1.2

Your current platform satisfies the Ruby version requirement.

see how it ate? πŸ‘‘

platform lists all the platforms in your Gemfile.lock, plus the ruby directive if applicable from your Gemfile(5). it also lets you know if the ruby directive requirement has been met. and if the ruby directive doesn't match the running Ruby VM, it tells you what part does not β€” so you're not sitting there like "bestie why 😭". it literally points at the problem. iconic.


πŸ’œ OPTIONS πŸ’œ

  • --ruby β€” it will display the ruby directive information, so you don't have to parse it from the Gemfile(5) yourself. no manual parsing era πŸŽ€ (we love convenience)

🌈 SEE ALSO 🌈


ngl bestie if your platform output is cursed, double-check that ruby directive before you spiral πŸ™ˆ β€” bundle platform --ruby is right there for you.

⭐ and that's the page! ⭐ this lil bundle-platform doc was brought to you by the April 2026 release, so if anyone asks, yeah, you're reading the freshest one πŸ’…βœ¨ go check your platform, slay, and remember: compatibility is the main character energy πŸ¦‹πŸŒ·πŸ“

πŸ“¦ where this page comes from