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 therubydirective information, so you don't have to parse it from theGemfile(5)yourself. no manual parsing era π (we love convenience)
π SEE ALSO π
bundle-lock(1)bundle-lock.1.html
ngl bestie if your platform output is cursed, double-check thatrubydirective before you spiral π βbundle platform --rubyis 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
- centos-stream 9: rubygem-bundler 4.0.16-35.module_el9+1443+8853c6a2 Β· MIT AND (Ruby OR BSD-2-Clause)
- ubuntu stonking: ruby-bundler 4.0.18-1 Β· MIT OR Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms