{"id":26503,"date":"2025-12-05T02:14:26","date_gmt":"2025-12-05T02:14:26","guid":{"rendered":"https:\/\/pokecon.jp\/job\/?p=26503"},"modified":"2025-12-05T02:14:26","modified_gmt":"2025-12-05T02:14:26","slug":"rubygems-bundler-4-0-%e6%9c%80%e9%80%9f%e8%a7%a3%e8%aa%ac-andpad-tech-blog","status":"publish","type":"post","link":"https:\/\/pokecon.jp\/job\/26503\/","title":{"rendered":"RubyGems\/Bundler 4.0 \u6700\u901f\u89e3\u8aac &#8211; ANDPAD Tech Blog"},"content":{"rendered":"\n<\/p>\n<div>\n<p>\u3053\u3093\u306b\u3061\u306f\u3001hsbt \u3067\u3059\u3002<\/p>\n<p>\u76f8\u5909\u308f\u3089\u305a\u539f\u795e\u3084\u30bc\u30f3\u30ec\u30b9\u30be\u30fc\u30f3\u30bc\u30ed\u3092\u30d7\u30ec\u30a4\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001Yotei \u3092\u3072\u3068\u6bb5\u843d\u3057\u305f\u3042\u3068\u306b\u30a2\u30b5\u30b7\u30f3\u30af\u30ea\u30fc\u30c9\u30b7\u30e3\u30c9\u30a6\u30ba\u3092\u30d7\u30ec\u30a4\u3057\u3066\u307f\u305f\u3089\u3001\u9762\u767d\u3055\u518d\u767a\u898b\u3068\u3044\u3046\u611f\u3058\u3067\u697d\u3057\u304f\u30d7\u30ec\u30a4\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u79c1\u304c\u30e1\u30f3\u30c6\u30ca\u3068\u3057\u3066\u958b\u767a\u3092\u3057\u3066\u3044\u308b RubyGems \u3068 Bundler \u306e\u30e1\u30b8\u30e3\u30fc\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u3042\u308b 4.0.0 \u306e\u91cd\u8981\u306a\u5909\u66f4\u70b9\u3068\u5099\u3048\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002\u7279\u306b Bundler 4\u306e\u5909\u66f4\u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u5f37\u5316 \u3068\u3001\u9577\u5e74\u306e\u6df7\u4e71\u306e\u5143\u3068\u306a\u3063\u3066\u3044\u305f\u6697\u9ed9\u7684\u306a\u6319\u52d5\u306e\u660e\u78ba\u5316 \u306b\u7126\u70b9\u3092\u5f53\u3066\u3066\u3044\u307e\u3059\u3002\u9577\u5e74\u306e\u5229\u7528\u3092\u901a\u3058\u3066\u6163\u308c\u89aa\u3057\u3093\u3060\u52d5\u4f5c\u306e\u3044\u304f\u3064\u304b\u304cBundler 4\u3067\u30c7\u30d5\u30a9\u30eb\u30c8\u304b\u3089\u5909\u66f4\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u79c1\u304c\u66f8\u3044\u305f\u4e0a\u8a18\u306e2\u3064\u306e\u30a8\u30f3\u30c8\u30ea\u306b\u30d5\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5b58\u5728\u3057\u307e\u3059\u304c\u3001\u5909\u66f4\u70b9\u306f\u5927\u91cf\u306b\u3042\u308b\u305f\u3081\u3001\u672c\u30a8\u30f3\u30c8\u30ea\u3067\u306f\u4e3b\u306b\u30e6\u30fc\u30b6\u30fc\u304c\u77e5\u308b\u3079\u304d\u632f\u308b\u821e\u3044\u306e\u5909\u66f4\u306b\u3064\u3044\u3066\u306e\u307f\u7d39\u4ecb\u3057\u3001\u30e1\u30bd\u30c3\u30c9\u306e\u524a\u9664\u306e\u3088\u3046\u306aAPI\u306e\u5909\u66f4\u3084\u3001\u65b0\u6a5f\u80fd\u306e\u8ffd\u52a0\u306a\u3069\u306f\u5225\u306e\u6a5f\u4f1a\u306b\u53d6\u3063\u3066\u304a\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2 id=\"RubyGems-4-\u306e\u5909\u66f4\u70b9\">RubyGems 4 \u306e\u5909\u66f4\u70b9<\/h2>\n<p>RubyGems 4\u3067\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\uff08CLI\uff09\u306e\u52d5\u4f5c\u304c\u5909\u66f4\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<h3 id=\"gem-query-\u30b3\u30de\u30f3\u30c9\u306e\u524a\u9664\">gem query \u30b3\u30de\u30f3\u30c9\u306e\u524a\u9664<\/h3>\n<p><code>gem query<\/code> \u30b3\u30de\u30f3\u30c9\u304c\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u4ee3\u308f\u308a\u306e\u30b3\u30de\u30f3\u30c9\u3068\u3057\u3066 <code>gem search<\/code> \u307e\u305f\u306f <code>gem list<\/code> \u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u79c1\u306f deprecate \u30d5\u30e9\u30b0\u304c\u3042\u308b\u30b3\u30fc\u30c9\u5168\u3066\u3092\u628a\u63e1\u3057\u3066\u3001\u5b9f\u969b\u306b <code>gem query<\/code> \u30b3\u30de\u30f3\u30c9\u3092\u524a\u9664\u3057\u3066\u304b\u3089\u3001\u3053\u3093\u306a\u30b3\u30de\u30f3\u30c9\u304c\u3042\u3063\u305f\u3093\u3060&#8230;\u3068\u3044\u3046\u306e\u3092\u77e5\u308a\u307e\u3057\u305f\u3002<\/p>\n<h3 id=\"gem-install-\u304b\u3089---default-\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u524a\u9664\"><code>gem install<\/code> \u304b\u3089 <code>--default<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u524a\u9664<\/h3>\n<p><code>gem install --default<\/code> \u6a5f\u80fd\u304c\u5b8c\u5168\u306b\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e <code>--default<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3001\u79c1\u304c Ruby \u3067\u63a8\u9032\u3057\u3066\u3044\u308b default gem \u3063\u307d\u304f gem \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3001\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3057\u305f\u304c\u3001RubyGems\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u6df7\u4e71\u3092\u62db\u304d\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u7834\u640d\u3092\u5f15\u304d\u8d77\u3053\u3059\u539f\u56e0\u3068\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u300cdefault gems \u3067\u3042\u308b openssl \u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b <code>gem install --default openssl<\/code> \u3092\u5b9f\u884c\u3059\u308b\u300d\u3068\u3044\u3046\u601d\u3044\u8fbc\u307f\u304c\u30e6\u30fc\u30b6\u30fc\u306e\u4e2d\u3067\u3057\u3070\u3057\u3070\u767a\u751f\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u826f\u304f\u306a\u3044 CLI \u3084\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3082\u305f\u3089\u3059\u60aa\u3044\u4f8b\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u4f55\u6545\u304b\u30e9\u30a4\u30d6\u30e9\u30ea\u30d5\u30a1\u30a4\u30eb\u3092\u9069\u5207\u306b\u30b3\u30d4\u30fc\u305b\u305a\u306b\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u3092\u751f\u6210\u3059\u308b\u3068\u3044\u3046\u90e8\u5206\u7684\u306a\u5b9f\u88c5\u3060\u3063\u305f\u305f\u3081\u3001\u7d50\u679c\u3068\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u5b9f\u969b\u306e\u5229\u76ca\u306e\u306a\u3044\u8907\u96d1\u306a\u74b0\u5883\u3092\u751f\u307f\u51fa\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u306e\u72b6\u6cc1\u3092\u6539\u5584\u3059\u308b\u305f\u3081\u306b\u3001\u5b8c\u5168\u306b\u7a7a\u632f\u308a\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066\u6a5f\u80fd\u3092\u5909\u66f4\u3057\u3001\u5b9f\u8cea\u524a\u9664\u3068\u3044\u3046\u5f62\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2 id=\"Bundler-4\u3078\u306e\u6e96\u5099\u3068\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\">Bundler 4\u3078\u306e\u6e96\u5099\u3068\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3<\/h2>\n<p>\u7d9a\u3044\u3066 Bundler \u306e\u5909\u66f4\u70b9\u306e\u89e3\u8aac\u3067\u3059\u3002\u307e\u305a\u6700\u521d\u306b\u7d39\u4ecb\u3057\u305f\u3044\u306e\u304c\u30b7\u30df\u30e5\u30ec\u30fc\u30c8\u30e2\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<p>Bundler 4\u306e\u30ea\u30ea\u30fc\u30b9\u306b\u5099\u3048\u308b\u305f\u3081\u3001\u73fe\u5728\u306e Bundler 2.7 \u3092 Bundler 4\u3068\u307b\u307c\u540c\u3058\u3088\u3046\u306b\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u7c21\u5358\u306b\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u300cBundler 4 \u30e2\u30fc\u30c9\u300d\u3092\u6709\u52b9\u306b\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3044\u305a\u308c\u304b\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u74b0\u5883\u5909\u6570 BUNDLE_SIMULATE_VERSION \u3092 4 \u306b\u8a2d\u5b9a\u3059\u308b\u3002<\/li>\n<li>bundle config set &#8211;global simulate_version 4 \u3092\u4f7f\u7528\u3057\u3066\u30b0\u30ed\u30fc\u30d0\u30eb\u306b\u8a2d\u5b9a\u3059\u308b\u3002<\/li>\n<li>bundle config set &#8211;local simulate_version 4 \u3092\u4f7f\u7528\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u306b\u8a2d\u5b9a\u3059\u308b\u3002<\/li>\n<\/ol>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001Bundler 4\u3067\u5c0e\u5165\u3055\u308c\u305f\u52d5\u4f5c\u306e\u5909\u66f4\u306e\u5927\u534a\u3092\u3001Bundler \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e0a\u3052\u308b\u524d\u306b\u65e2\u5b58\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u30c6\u30b9\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2 id=\"\u6ce8\u76ee\u3059\u3079\u304d\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5909\u66f4\u70b9\">\u6ce8\u76ee\u3059\u3079\u304d\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5909\u66f4\u70b9<\/h2>\n<p>Bundler 4\u3067\u7279\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u306a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u52d5\u4f5c\u304c\u5207\u308a\u66ff\u308f\u308b\u5909\u66f4\u70b9\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"bundle-install-\u306e\u5b9f\u884c\u306b-bundle-\u5358\u4f53\u3067\u306e\u5b9f\u884c\u304c\u975e\u63a8\u5968\u306b\u306a\u3063\u305f\"><code>bundle install<\/code> \u306e\u5b9f\u884c\u306b <code>bundle<\/code> \u5358\u4f53\u3067\u306e\u5b9f\u884c\u304c\u975e\u63a8\u5968\u306b\u306a\u3063\u305f<\/h3>\n<p>Bundler 4\u3067\u306f\u3001\u5358\u306b <code>bundle<\/code> \u3092\u5b9f\u884c\u3057\u305f\u5834\u5408\u3001\u8b66\u544a\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<code>bundle<\/code> \u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3057\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u969b\u306b\u7a81\u7136 install \u304c\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u306f\u3001\u65b0\u898f\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u4f7f\u3044\u3084\u3059\u3044\u6319\u52d5\u3067\u306f\u306a\u3044\u3068\u5224\u65ad\u3057\u307e\u3057\u305f\u3002\u4e92\u63db\u6027\u306e\u7dad\u6301\u306e\u305f\u3081\u306b <code>install<\/code> \u304c\u5b9f\u884c\u3055\u308c\u3001<code>Gemfile<\/code> \u304c\u5b58\u5728\u3057\u306a\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u306f <code>cli_help<\/code> \u304c\u5b9f\u884c\u3055\u308c\u30b3\u30de\u30f3\u30c9\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u9577\u5e74\u5229\u7528\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u3067\u3001\u5f15\u304d\u7d9a\u304d <code>bundle<\/code> \u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 <code>bundle install<\/code> \u306b\u306a\u308b\u52d5\u4f5c\u3092\u7dad\u6301\u3057\u305f\u3044\u5834\u5408\u306f\u3001<code>bundle config set default_cli_command install_or_cli_help --global<\/code> \u306e\u8a2d\u5b9a\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4e00\u65b9\u3001\u3059\u3050\u306b\u65b0\u3057\u3044\u52d5\u4f5c\uff08bundle \u304c\u30d8\u30eb\u30d7\u306e\u307f\u3092\u8868\u793a\uff09\u3092\u63a1\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u3001<code>bundle config set default_cli_command cli_help --global<\/code> \u3067\u8a2d\u5b9a\u53ef\u80fd\u3067\u3059\u3002\u3053\u306e\u3044\u305a\u308c\u304b\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u3053\u3068\u3067 <code>bundle<\/code> \u5358\u4f53\u3067\u5b9f\u884c\u3057\u305f\u969b\u306e\u8b66\u544a\u306f\u975e\u8868\u793a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001CI \u3067\u7528\u3044\u308b\u3088\u3046\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306f\u3001\u4f55\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u660e\u78ba\u306b\u3059\u308b\u305f\u3081\u306b\u3001<code>bundle<\/code> \u3067\u306f\u306a\u304f <code>bundle install<\/code> \u3092\u660e\u793a\u7684\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"bundle-install-\u306b\u6e21\u3055\u308c\u305f\u30d5\u30e9\u30b0\u304c\u8a18\u61b6\u3055\u308c\u306a\u304f\u306a\u3063\u305f\"><code>bundle install<\/code> \u306b\u6e21\u3055\u308c\u305f\u30d5\u30e9\u30b0\u304c\u8a18\u61b6\u3055\u308c\u306a\u304f\u306a\u3063\u305f<\/h3>\n<p>\u547c\u3073\u51fa\u3057\u9593\u3067\u8a18\u61b6\u3055\u308c\u308b\u3053\u3068\u306b\u4f9d\u5b58\u3057\u3066\u3044\u305f bundle install \u306eCLI\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u524a\u9664\u3055\u308c\u307e\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u3001<code>--clean<\/code>\u3001<code>--deployment<\/code>\u3001<code>--frozen<\/code>\u3001<code>--no-prune<\/code>\u3001<code>--path<\/code>\u3001<code>--shebang<\/code>\u3001<code>--system<\/code>\u3001<code>--without<\/code>\u3001\u304a\u3088\u3073 <code>--with<\/code> \u304c\u5bfe\u8c61\u3067\u3059\u3002<\/p>\n<p>CLI\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u6697\u9ed9\u7684\u306b\u8a18\u61b6\u3055\u308c\u308b\u52d5\u4f5c\u306f\u3001\u521d\u5fc3\u8005\u3060\u3051\u3067\u306a\u304f\u7d4c\u9a13\u8c4a\u5bcc\u306a\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u3082\u3001\u6b74\u53f2\u7684\u306b\u6df7\u4e71\u3084\u30d0\u30b0\u5831\u544a\u306e\u539f\u56e0\u3068\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u3002CLI\u30c4\u30fc\u30eb\u306f\u3001\u660e\u793a\u7684\u306b\u8a2d\u5b9a\u3055\u308c\u306a\u3044\u9650\u308a\u3001\u5168\u304f\u540c\u3058\u547c\u3073\u51fa\u3057\u306b\u5bfe\u3057\u3066\u7570\u306a\u308b\u52d5\u4f5c\u3092\u3059\u308b\u3079\u304d\u3067\u306f\u306a\u3044\u3001\u3068\u3044\u3046\u8a2d\u8a08\u601d\u60f3\u306b\u57fa\u3065\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5f93\u6765\u306e <code>bundle install --without development:test<\/code> \u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u3001\u8a2d\u5b9a\u3092\u6c38\u7d9a\u5316\u3055\u305b\u308b\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3067\u306f\u3001Bundler 4\u306e\u8a2d\u5b9a\u306f\u6bce\u56de\u6d88\u53bb\u3055\u308c\u307e\u3059\u3002\u4ee3\u308f\u308a\u306b\u3001\u74b0\u5883\u5909\u6570\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a\u3001\u307e\u305f\u306f\u30de\u30b7\u30f3\u8a2d\u5b9a\u3092\u4ecb\u3057\u3066\u3001<code>bundle config set --local without development test<\/code> \u306a\u3069\u306e\u3088\u3046\u306b\u660e\u793a\u7684\u306b\u8a2d\u5b9a\u3092\u884c\u3046\u5fc5\u8981 \u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3 id=\"Gemfile\u3067\u306e\u53b3\u683c\u306a\u30bd\u30fc\u30b9\u306e\u56fa\u5b9a\u5316\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5f37\u5236\u3055\u308c\u307e\u3059\">Gemfile\u3067\u306e\u53b3\u683c\u306a\u30bd\u30fc\u30b9\u306e\u56fa\u5b9a\u5316\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5f37\u5236\u3055\u308c\u307e\u3059<\/h3>\n<p>Bundler 4\u3067\u306f\u3001\u3059\u3079\u3066\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u30bd\u30fc\u30b9\u304c \u660e\u78ba\u306b\u5b9a\u7fa9\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306fBundler\u306f\u5b9f\u884c\u3092\u62d2\u5426\u3057\u307e\u3059\u3002\u3053\u306e\u5909\u66f4\u306b\u4f34\u3044\u3001\u4ee5\u4e0b\u306e\u5b9a\u7fa9\u65b9\u6cd5\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u8907\u6570\u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u306aGemfile\u30bd\u30fc\u30b9\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u4f9d\u5b58\u95a2\u4fc2\u3054\u3068\u306b\u30bd\u30fc\u30b9\u3092\u5b9a\u7fa9\u3059\u308b\u304b\u3001\u30d6\u30ed\u30c3\u30af\u5f62\u5f0f\u3092\u4f7f\u7528\u3057\u3066\u5b9a\u7fa9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<pre class=\"code lang-ruby\" data-lang=\"ruby\" data-unlink=\"\">source <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">https:\/\/main_source<\/span><span class=\"synSpecial\">\"<\/span>\nsource <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">https:\/\/another_source<\/span><span class=\"synSpecial\">\"<\/span>\n\n<span class=\"synPreProc\">gem<\/span> <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">dependency1<\/span><span class=\"synSpecial\">\"<\/span>\n<span class=\"synPreProc\">gem<\/span> <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">dependency2<\/span><span class=\"synSpecial\">\"<\/span>\n<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306a <code>Gemfile<\/code> \u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-ruby\" data-lang=\"ruby\" data-unlink=\"\">source <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">https:\/\/main_source<\/span><span class=\"synSpecial\">\"<\/span>\n\n<span class=\"synPreProc\">gem<\/span> <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">dependency1<\/span><span class=\"synSpecial\">\"<\/span>\n\nsource <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">https:\/\/another_source<\/span><span class=\"synSpecial\">\"<\/span> <span class=\"synStatement\">do<\/span>\n  <span class=\"synPreProc\">gem<\/span> <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">dependency2<\/span><span class=\"synSpecial\">\"<\/span>\n<span class=\"synStatement\">end<\/span>\n<\/pre>\n<ul>\n<li>\u30b0\u30ed\u30fc\u30d0\u30eb\u306a path \u304a\u3088\u3073 git \u30bd\u30fc\u30b9\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u3001gem \u30e1\u30bd\u30c3\u30c9\u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066\u6307\u5b9a\u3059\u308b\u304b\u3001path \u3084 git \u3092\u30d6\u30ed\u30c3\u30af\u5f62\u5f0f\u3067\u4f7f\u7528\u3057\u3066\u3001\u5bfe\u8c61\u306egem\u3092\u660e\u793a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<pre class=\"code lang-ruby\" data-lang=\"ruby\" data-unlink=\"\">path <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">\/my\/path\/with\/gems<\/span><span class=\"synSpecial\">\"<\/span>\ngit <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">https:\/\/my_git_repo_with_gems<\/span><span class=\"synSpecial\">\"<\/span>\n\n<span class=\"synPreProc\">gem<\/span> <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">dependency1<\/span><span class=\"synSpecial\">\"<\/span>\n<span class=\"synPreProc\">gem<\/span> <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">dependency2<\/span><span class=\"synSpecial\">\"<\/span>\n<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306a <code>Gemfile<\/code> \u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304f\u304b<\/p>\n<pre class=\"code lang-ruby\" data-lang=\"ruby\" data-unlink=\"\"><span class=\"synPreProc\">gem<\/span> <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">dependency1<\/span><span class=\"synSpecial\">\"<\/span>, <span class=\"synConstant\">path<\/span>: <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">\/my\/path\/with\/gems<\/span><span class=\"synSpecial\">\"<\/span>\n<span class=\"synPreProc\">gem<\/span> <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">dependency2<\/span><span class=\"synSpecial\">\"<\/span>, <span class=\"synConstant\">git<\/span>: <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">https:\/\/my_git_repo_with_gems<\/span><span class=\"synSpecial\">\"<\/span>\n<\/pre>\n<p>block \u3092\u7528\u3044\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-ruby\" data-lang=\"ruby\" data-unlink=\"\">path <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">\/my\/path\/with\/gems<\/span><span class=\"synSpecial\">\"<\/span> <span class=\"synStatement\">do<\/span>\n  \n  \n  \n<span class=\"synStatement\">end<\/span>\n\ngit <span class=\"synSpecial\">\"<\/span><span class=\"synConstant\">https:\/\/my_git_repo_with_gems<\/span><span class=\"synSpecial\">\"<\/span> <span class=\"synStatement\">do<\/span>\n  \n  \n  \n<span class=\"synStatement\">end<\/span>\n<\/pre>\n<h3 id=\"\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u306b\u3088\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5f37\u5316\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306b\u306a\u308a\u307e\u3059\">\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u306b\u3088\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5f37\u5316\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306b\u306a\u308a\u307e\u3059<\/h3>\n<p>Bundler 4 \u3067\u306f \u65b0\u3057\u3044\u30ed\u30c3\u30af\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3059\u308b\u5834\u5408\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">  ...\n  rake (~&gt; 13.0)\n  sass (~&gt; 3.7)\n\nCHECKSUMS\n  addressable (2.8.8) sha256=7c13b8f9536cf6364c03b9d417c19986019e28f7c00ac8132da4eb0fe393b057\n  base64 (0.2.0) sha256=0f25e9b21a02a0cc0cea8ef92b2041035d39350946e8789c562b2d1a3da01507\n  bigdecimal (3.3.1) sha256=eaa01e228be54c4f9f53bf3cc34fe3d5e845c31963e7fcc5bedb05a4e7d52218\n  ...<\/pre>\n<p>\u3053\u306e\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u306b\u3088\u308a\u3001\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u74b0\u5883\u3084\u672c\u756a\u30b5\u30fc\u30d0\u30fc\u306a\u3069\u3067 <code>bundle install<\/code> \u3092\u5b9f\u884c\u3057\u305f\u969b\u306b\u7570\u306a\u308b\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u304c\u767a\u898b\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u7570\u5e38\u3068\u307f\u306a\u3057 Bundler \u306f\u51e6\u7406\u3092\u4e2d\u65ad\u3057\u307e\u3059\u3002\u65e2\u5b58\u306e\u30ed\u30c3\u30af\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u6a19\u6e96\u3067\u306f\u4f55\u3082\u3057\u306a\u3044\u305f\u3081\u3001\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001<code>bundle lock --add-checksums<\/code> \u3092\u660e\u793a\u7684\u306b\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6628\u4eca\u306e supply chain attack \u306b\u4ee3\u8868\u3055\u308c\u308b\u3088\u3046\u306a\u30b5\u30fc\u30d0\u30fc\u306e\u507d\u88c5\u306b\u3088\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u5dee\u3057\u66ff\u3048\u306a\u3069\u306b\u5bfe\u3059\u308b\u5bfe\u7b56\u306e\u305f\u3081\u306b\u5168\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u6709\u52b9\u306b\u3057\u3066\u3082\u3089\u3044\u305f\u3044\u6a5f\u80fd\u3067\u3059\u3002\u7279\u306b rubygems.org \u4ee5\u5916\u306e private server \u306a\u3069\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001Bundler 2.7 \u3067\u3042\u3063\u3066\u3082\u3044\u307e\u3059\u3050\u306b <code>bundle lock --add-checksums<\/code> \u3092\u5b9f\u884c\u3057\u3066\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3092\u5f37\u304f\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e00\u90e8\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u306a\u3044\u969b\u306b\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u304c\u4f5c\u6210\u3055\u308c\u306a\u3044\u3001<code>Bundler.setup<\/code> \u5b9f\u884c\u6642\u306b\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u304c\u4f5c\u6210\u3055\u308c\u306a\u3044\u306a\u3069\u3001\u3044\u304f\u3064\u304b\u4e0d\u5177\u5408\u3068\u601d\u308f\u308c\u308b\u6319\u52d5\u306e\u5831\u544a\u304c\u3042\u308b\u305f\u3081\u3001\u307e\u3060\u5b8c\u5168\u306a\u6a5f\u80fd\u3068\u306f\u8a00\u3048\u307e\u305b\u3093\u3002\u304a\u304b\u3057\u3044\u3068\u601d\u3063\u305f\u6319\u52d5\u304c\u3042\u308c\u3070 <a target=\"_blank\" href=\"https:\/\/github.com\/ruby\/rubygems\">rubygems \u30ea\u30dd\u30b8\u30c8\u30ea<\/a> \u3078\u306e\u5831\u544a\u3092\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"CLI\u30b3\u30de\u30f3\u30c9\u306e\u7f6e\u304d\u63db\u3048\u3068\u524a\u9664\">CLI\u30b3\u30de\u30f3\u30c9\u306e\u7f6e\u304d\u63db\u3048\u3068\u524a\u9664<\/h3>\n<p>\u30b3\u30de\u30f3\u30c9\u3084\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u4ee5\u4e0b\u304c\u524a\u9664\u3055\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li><code>bundle viz<\/code> \u30b3\u30de\u30f3\u30c9\u306e\u524a\u9664\u3068\u30d7\u30e9\u30b0\u30a4\u30f3\u5316: \u5916\u90e8\u4f9d\u5b58\u95a2\u4fc2 (graphviz \u30d1\u30c3\u30b1\u30fc\u30b8\u306a\u3069) \u3092\u5fc5\u8981\u3068\u3059\u308b\u552f\u4e00\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3042\u3063\u305f bundle viz \u3092\u524a\u9664\u3057\u3001<code>bundle graph<\/code> \u3068\u3044\u3046\u540d\u524d\u306e\u516c\u5f0f\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30d7\u30e9\u30b0\u30a4\u30f3 (<a target=\"_blank\" href=\"https:\/\/github.com\/rubygems\/bundler-graph\">bundler-graph<\/a>) \u3068\u3057\u3066\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/li>\n<li><code>--binstubs<\/code> \u30d5\u30e9\u30b0\u306e\u524a\u9664: <code>bundle install<\/code> \u30b3\u30de\u30f3\u30c9\u306f <code>--binstubs<\/code> \u30d5\u30e9\u30b0\u3092\u53d7\u3051\u4ed8\u3051\u306a\u304f\u306a\u308a\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f <code>bundle binstubs<\/code> \u30b3\u30de\u30f3\u30c9\u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u307e\u3057\u305f\u3002\u4eca\u5f8c\u306f\u3001<code>binstubs<\/code> \u306f \u500b\u5225 \u306b\u4f5c\u6210\u3057\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u306b\u30c1\u30a7\u30c3\u30af\u30a4\u30f3\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5168\u3066\u306e gem \u306e binstub \u3092\u4f5c\u6210\u3057\u305f\u3044\u5834\u5408\u306f\u3001<code>bundle binstubs --all<\/code> \u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li><code>bundle inject<\/code> \u306e\u7f6e\u304d\u63db\u3048: <code>bundle inject<\/code> \u30b3\u30de\u30f3\u30c9\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002<code>bundle add<\/code> \u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li>\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u30d8\u30eb\u30d1\u30fc\u306e\u524a\u9664:  <code>vlad<\/code> \u304a\u3088\u3073 <code>capistrano<\/code> \u7528\u306e\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u30d8\u30eb\u30d1\u30fc\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002<code>capistrano-bundler<\/code> \u3092\u660e\u793a\u7684\u306b\u6307\u5b9a\u3057\u3066\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n<h3 id=\"\u307e\u3068\u3081\">\u307e\u3068\u3081<\/h3>\n<p>Bundler 4\u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u5f37\u5316\uff08\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5316\uff09 \u3068\u3001\u9577\u5e74\u306e\u6df7\u4e71\u306e\u5143\u3068\u306a\u3063\u3066\u3044\u305f\u6697\u9ed9\u7684\u306a\u6319\u52d5\uff08bundle install \u306e\u30d5\u30e9\u30b0\u4fdd\u5b58\u306e\u7121\u52b9\u5316\u3084\u30b0\u30ed\u30fc\u30d0\u30eb\u30bd\u30fc\u30b9\u306e\u5b9a\u7fa9\uff09\u306e\u660e\u78ba\u5316\u306b\u7126\u70b9\u3092\u5f53\u3066\u305f\u30e1\u30b8\u30e3\u30fc\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u7279\u306b\u3001bundle install \u306e\u6319\u52d5\u5909\u66f4\u3068Gemfile\u306e\u53b3\u683c\u5316\u306f\u3001\u5927\u898f\u6a21\u306aRuby\/Rails\u74b0\u5883\u306b\u304a\u3044\u3066\u5f71\u97ff\u304c\u5927\u304d\u3044\u305f\u3081\u3001\u65e9\u671f\u306b Bundler 4\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30e2\u30fc\u30c9 \u3092\u6d3b\u7528\u3057\u305f\u79fb\u884c\u6e96\u5099\u3092\u63a8\u5968\u3057\u307e\u3059\u3002RubyGems \u3068 Bundler 4.0 \u306f Ruby 4.0 \u306b\u540c\u68b1\u3055\u308c\u308b\u4e88\u5b9a\u3067\u3059\u3002\u30c8\u30ea\u30d7\u30eb 4.0 \u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u300112\/25 \u306e Ruby 4.0 \u307e\u3067\u306b\u767a\u898b\u3057\u3001\u4fee\u6b63\u3067\u304d\u305f\u4e0d\u5177\u5408\u306f 4.0.1 \u3084 4.0.2 \u3068\u3057\u3066\u30ea\u30ea\u30fc\u30b9\u3057\u305f\u4e0a\u3067 Ruby 4.0 \u306b\u540c\u68b1\u3057\u305f\u3044\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002\u3082\u3057\u3001\u4f7f\u3063\u3066\u307f\u3066\u300c\u4f55\u304b\u304c\u304a\u304b\u3057\u3044\u300d\u3068\u611f\u3058\u305f\u969b\u306f <a target=\"_blank\" href=\"https:\/\/github.com\/ruby\/rubygems\">rubygems \u306e\u30ea\u30dd\u30b8\u30c8\u30ea<\/a> \u307e\u3067\u5831\u544a\u3057\u3066\u3044\u305f\u3060\u3051\u308b\u3068\u5e78\u3044\u3067\u3059\u3002<\/p>\n<\/div>\n<p><script>(function(d, s, id) {\n  var js, fjs = d.getElementsByTagName(s)[0];\n  if (d.getElementById(id)) return;\n  js = d.createElement(s); js.id = id;\n  js.src = \"\/\/connect.facebook.net\/ja_JP\/sdk.js#xfbml=1&appId=719729204785177&version=v17.0\";\n  fjs.parentNode.insertBefore(js, fjs);\n}(document, 'script', 'facebook-jssdk'));<\/script><br \/>\n<br \/>\n<br \/><a href=\"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000\">\u5143\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3059\u308b <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u3053\u3093\u306b\u3061\u306f\u3001hsbt \u3067\u3059\u3002 \u76f8\u5909\u308f\u3089\u305a\u539f\u795e\u3084\u30bc\u30f3\u30ec\u30b9\u30be\u30fc\u30f3\u30bc\u30ed\u3092\u30d7\u30ec\u30a4\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001Yotei \u3092\u3072\u3068\u6bb5\u843d\u3057\u305f\u3042\u3068\u306b\u30a2\u30b5\u30b7\u30f3\u30af\u30ea\u30fc\u30c9\u30b7\u30e3\u30c9\u30a6\u30ba\u3092\u30d7\u30ec\u30a4\u3057\u3066\u307f\u305f\u3089\u3001\u9762\u767d\u3055\u518d\u767a\u898b\u3068\u3044\u3046\u611f\u3058\u3067\u697d\u3057\u304f\u30d7\u30ec\u30a4\u3057\u3066\u3044\u307e\u3059\u3002 \u4eca [&hellip;]","protected":false},"author":1,"featured_media":26504,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-26503","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hatena-blog"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>RubyGems\/Bundler 4.0 \u6700\u901f\u89e3\u8aac - ANDPAD Tech Blog - \u30dd\u30b1\u30b3\u30f3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RubyGems\/Bundler 4.0 \u6700\u901f\u89e3\u8aac - ANDPAD Tech Blog - \u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"og:description\" content=\"\u3053\u3093\u306b\u3061\u306f\u3001hsbt \u3067\u3059\u3002 \u76f8\u5909\u308f\u3089\u305a\u539f\u795e\u3084\u30bc\u30f3\u30ec\u30b9\u30be\u30fc\u30f3\u30bc\u30ed\u3092\u30d7\u30ec\u30a4\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001Yotei \u3092\u3072\u3068\u6bb5\u843d\u3057\u305f\u3042\u3068\u306b\u30a2\u30b5\u30b7\u30f3\u30af\u30ea\u30fc\u30c9\u30b7\u30e3\u30c9\u30a6\u30ba\u3092\u30d7\u30ec\u30a4\u3057\u3066\u307f\u305f\u3089\u3001\u9762\u767d\u3055\u518d\u767a\u898b\u3068\u3044\u3046\u611f\u3058\u3067\u697d\u3057\u304f\u30d7\u30ec\u30a4\u3057\u3066\u3044\u307e\u3059\u3002 \u4eca [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000\" \/>\n<meta property=\"og:site_name\" content=\"\u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"article:published_time\" content=\"2025-12-05T02:14:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/12\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fs2Fsezemi2F202512032F20251203174945.jp.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"1300\" \/>\n\t<meta property=\"og:image:height\" content=\"683\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"info@pokecon.jp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"info@pokecon.jp\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/tech.andpad.co.jp\\\/entry\\\/2025\\\/12\\\/05\\\/100000#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/26503\\\/\"},\"author\":{\"name\":\"info@pokecon.jp\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"headline\":\"RubyGems\\\/Bundler 4.0 \u6700\u901f\u89e3\u8aac &#8211; ANDPAD Tech Blog\",\"datePublished\":\"2025-12-05T02:14:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/26503\\\/\"},\"wordCount\":108,\"image\":{\"@id\":\"https:\\\/\\\/tech.andpad.co.jp\\\/entry\\\/2025\\\/12\\\/05\\\/100000#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fs2Fsezemi2F202512032F20251203174945.jp.jpeg\",\"articleSection\":[\"\u306f\u3066\u306a\u30d6\u30ed\u30b0\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/26503\\\/\",\"url\":\"https:\\\/\\\/tech.andpad.co.jp\\\/entry\\\/2025\\\/12\\\/05\\\/100000\",\"name\":\"RubyGems\\\/Bundler 4.0 \u6700\u901f\u89e3\u8aac - ANDPAD Tech Blog - \u30dd\u30b1\u30b3\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/tech.andpad.co.jp\\\/entry\\\/2025\\\/12\\\/05\\\/100000#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/tech.andpad.co.jp\\\/entry\\\/2025\\\/12\\\/05\\\/100000#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fs2Fsezemi2F202512032F20251203174945.jp.jpeg\",\"datePublished\":\"2025-12-05T02:14:26+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tech.andpad.co.jp\\\/entry\\\/2025\\\/12\\\/05\\\/100000#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/tech.andpad.co.jp\\\/entry\\\/2025\\\/12\\\/05\\\/100000\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/tech.andpad.co.jp\\\/entry\\\/2025\\\/12\\\/05\\\/100000#primaryimage\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fs2Fsezemi2F202512032F20251203174945.jp.jpeg\",\"contentUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fs2Fsezemi2F202512032F20251203174945.jp.jpeg\",\"width\":1300,\"height\":683},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tech.andpad.co.jp\\\/entry\\\/2025\\\/12\\\/05\\\/100000#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RubyGems\\\/Bundler 4.0 \u6700\u901f\u89e3\u8aac &#8211; ANDPAD Tech Blog\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\",\"name\":\"\u30dd\u30b1\u30b3\u30f3\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\",\"name\":\"info@pokecon.jp\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"caption\":\"info@pokecon.jp\"},\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/author\\\/infopokecon-jp\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RubyGems\/Bundler 4.0 \u6700\u901f\u89e3\u8aac - ANDPAD Tech Blog - \u30dd\u30b1\u30b3\u30f3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000","og_locale":"ja_JP","og_type":"article","og_title":"RubyGems\/Bundler 4.0 \u6700\u901f\u89e3\u8aac - ANDPAD Tech Blog - \u30dd\u30b1\u30b3\u30f3","og_description":"\u3053\u3093\u306b\u3061\u306f\u3001hsbt \u3067\u3059\u3002 \u76f8\u5909\u308f\u3089\u305a\u539f\u795e\u3084\u30bc\u30f3\u30ec\u30b9\u30be\u30fc\u30f3\u30bc\u30ed\u3092\u30d7\u30ec\u30a4\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001Yotei \u3092\u3072\u3068\u6bb5\u843d\u3057\u305f\u3042\u3068\u306b\u30a2\u30b5\u30b7\u30f3\u30af\u30ea\u30fc\u30c9\u30b7\u30e3\u30c9\u30a6\u30ba\u3092\u30d7\u30ec\u30a4\u3057\u3066\u307f\u305f\u3089\u3001\u9762\u767d\u3055\u518d\u767a\u898b\u3068\u3044\u3046\u611f\u3058\u3067\u697d\u3057\u304f\u30d7\u30ec\u30a4\u3057\u3066\u3044\u307e\u3059\u3002 \u4eca [&hellip;]","og_url":"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000","og_site_name":"\u30dd\u30b1\u30b3\u30f3","article_published_time":"2025-12-05T02:14:26+00:00","og_image":[{"width":1300,"height":683,"url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/12\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fs2Fsezemi2F202512032F20251203174945.jp.jpeg","type":"image\/jpeg"}],"author":"info@pokecon.jp","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"info@pokecon.jp","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000#article","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/26503\/"},"author":{"name":"info@pokecon.jp","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"headline":"RubyGems\/Bundler 4.0 \u6700\u901f\u89e3\u8aac &#8211; ANDPAD Tech Blog","datePublished":"2025-12-05T02:14:26+00:00","mainEntityOfPage":{"@id":"https:\/\/pokecon.jp\/job\/26503\/"},"wordCount":108,"image":{"@id":"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/12\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fs2Fsezemi2F202512032F20251203174945.jp.jpeg","articleSection":["\u306f\u3066\u306a\u30d6\u30ed\u30b0"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/pokecon.jp\/job\/26503\/","url":"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000","name":"RubyGems\/Bundler 4.0 \u6700\u901f\u89e3\u8aac - ANDPAD Tech Blog - \u30dd\u30b1\u30b3\u30f3","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000#primaryimage"},"image":{"@id":"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/12\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fs2Fsezemi2F202512032F20251203174945.jp.jpeg","datePublished":"2025-12-05T02:14:26+00:00","author":{"@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"breadcrumb":{"@id":"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000#primaryimage","url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/12\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fs2Fsezemi2F202512032F20251203174945.jp.jpeg","contentUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/12\/https3A2F2Fcdn-ak.f.st-hatena.com2Fimages2Ffotolife2Fs2Fsezemi2F202512032F20251203174945.jp.jpeg","width":1300,"height":683},{"@type":"BreadcrumbList","@id":"https:\/\/tech.andpad.co.jp\/entry\/2025\/12\/05\/100000#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/pokecon.jp\/job\/"},{"@type":"ListItem","position":2,"name":"RubyGems\/Bundler 4.0 \u6700\u901f\u89e3\u8aac &#8211; ANDPAD Tech Blog"}]},{"@type":"WebSite","@id":"https:\/\/pokecon.jp\/job\/#website","url":"https:\/\/pokecon.jp\/job\/","name":"\u30dd\u30b1\u30b3\u30f3","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pokecon.jp\/job\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997","name":"info@pokecon.jp","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","caption":"info@pokecon.jp"},"url":"https:\/\/pokecon.jp\/job\/author\/infopokecon-jp\/"}]}},"_links":{"self":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/26503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/comments?post=26503"}],"version-history":[{"count":1,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/26503\/revisions"}],"predecessor-version":[{"id":26505,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/26503\/revisions\/26505"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media\/26504"}],"wp:attachment":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media?parent=26503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/categories?post=26503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/tags?post=26503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}