{"id":130513,"date":"2025-08-27T11:24:07","date_gmt":"2025-08-27T02:24:07","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=130513"},"modified":"2025-08-27T11:24:07","modified_gmt":"2025-08-27T02:24:07","slug":"rv","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/rv\/","title":{"rendered":"\u6b21\u4e16\u4ee3Ruby\u7ba1\u7406\u30c4\u30fc\u30eb\u300crv\u300d\u767b\u5834\uff01rvm\u3084bundler\u306e\u58c1\u3092\u8d8a\u3048\u308b\u65b0\u63d0\u6848"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/08\/rv.jpg\" alt=\"\" width=\"1280\" height=\"853\" class=\"aligncenter size-full wp-image-130514\" \/><\/p>\n<p>Ruby\u958b\u767a\u8005\u306a\u3089\u8ab0\u3082\u304c\u4e00\u5ea6\u306f\u300c\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3068\u4f9d\u5b58\u95a2\u4fc2\u300d\u306e\u6cbc\u306b\u306f\u307e\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002rvm\u3001rbenv\u3001bundler\u2026\u306a\u3069\u3055\u307e\u3056\u307e\u306a\u30c4\u30fc\u30eb\u304c\u5b58\u5728\u3057\u3001\u6700\u9069\u306a\u7d44\u307f\u5408\u308f\u305b\u3092\u8003\u3048\u308b\u306e\u306f\u304b\u306a\u308a\u8907\u96d1\u306a\u4f5c\u696d\u3068\u306a\u308a\u307e\u3059\u3002\u305d\u3093\u306a\u60a9\u307f\u306b\u7d42\u6b62\u7b26\u3092\u6253\u3064\u3079\u304f\u3001\u65b0\u3057\u3044Ruby\u7ba1\u7406\u30c4\u30fc\u30eb\u300c<a href=\"https:\/\/github.com\/spinel-coop\/rv\">rv<\/a>\u300d\u304c<a href=\"https:\/\/andre.arko.net\/2025\/08\/25\/rv-a-new-kind-of-ruby-management-tool\/\">\u767b\u5834<\/a>\u3057\u307e\u3057\u305f<\/p>\n<p>\u958b\u767a\u8005\u306eAndr\u00e9 Arko\u6c0f\u306f\u3001Python\u306e\u300cuv\u300d\u306b\u611f\u9298\u3092\u53d7\u3051\u3001\u300cRuby\u306b\u3082\u6b32\u3057\u3044\uff01\u300d\u3068\u81ea\u3089\u958b\u767a\u3092\u958b\u59cb\u3057\u307e\u3059\u3002\u76ee\u6307\u3059\u306e\u306f\u3001rvm + bundler + gem exec + npx \u306e\u3044\u3044\u3068\u3053\u53d6\u308a\u3067\u3001RubyGems\u306eSamuel Giddins\u6c0f\u3084\u3001rbenv\u306e\u5275\u8a2d\u8005Sam Stephenson\u6c0f\u3082\u30c1\u30fc\u30e0\u306b\u53c2\u52a0\u3057\u3001\u958b\u767a\u306f\u52a0\u901f\u4e2d\u3067\u3059\u3002<\/p>\n<p>rv\u306e\u4e3b\u306a\u7279\u5fb4\u306f\u6b21\u306e\u901a\u308a\u3067\u3059:<\/p>\n<ul>\n<li>\n<p><span><strong>Ruby\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3068gem\u4f9d\u5b58\u7ba1\u7406\u3092\u7d71\u5408<\/strong><br \/>\n\u8907\u6570\u30c4\u30fc\u30eb\u3092\u4f7f\u3044\u5206\u3051\u306a\u304f\u3066OK<\/span><\/p>\n<\/li>\n<li>\n<p><span><strong>Rust\u88fd\u3067\u7206\u901f<\/strong><br \/>\n<code>rvm install<\/code>\u3084<code>bundle install<\/code>\u76f8\u5f53\u306e\u51e6\u7406\u3092\u3088\u308a\u9ad8\u901f\u306b\u5b9f\u884c\u3002<\/span><\/p>\n<\/li>\n<li>\n<p><span><strong>CLI\u30c4\u30fc\u30eb\u306e\u5373\u6642\u5b9f\u884c(<\/strong><code>rvx<\/code><strong>)<\/strong><br \/>\n<code>npx<\/code>\u306e\u3088\u3046\u306b\u3001\u4f9d\u5b58\u95a2\u4fc2\u3092\u6c17\u306b\u305b\u305a\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u53ef\u80fd\u3002<\/span><\/p>\n<\/li>\n<li>\n<p><span><strong>\u30c4\u30fc\u30eb\u3054\u3068\u306e\u5206\u96e2\u74b0\u5883<\/strong><br \/>\n\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u7121\u95a2\u4fc2\u306agem\u3082\u5b89\u5168\u306b\u6271\u3048\u308b\u3002<\/span><\/p>\n<\/li>\n<li>\n<p><span><strong>\u30b9\u30af\u30ea\u30d7\u30c8\u5358\u4f53\u3067\u74b0\u5883\u69cb\u7bc9\uff06\u5b9f\u884c<\/strong><br \/>\n<code>.ruby-version<\/code>\u3084<code>Gemfile<\/code>\u60c5\u5831\u3092\u542b\u3080<code>.rb<\/code>\u30d5\u30a1\u30a4\u30eb\u3092<code>rv run<\/code> \u3067\u5373\u5b9f\u884c\u3067\u304d\u308b\u3002<\/span><\/p>\n<\/li>\n<\/ul>\n<p>\u3053\u308c\u307e\u3067\u306eRuby\u30c4\u30fc\u30eb\u3068\u9055\u3044\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u6a5f\u80fd<\/th>\n<th>\u5f93\u6765\u30c4\u30fc\u30eb<\/th>\n<th>rv\u306e\u30a2\u30d7\u30ed\u30fc\u30c1<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Ruby\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406<\/td>\n<td>rvm \/ rbenv<\/td>\n<td>Rust\u88fd\u3067\u9ad8\u901f\u52d5\u4f5c\u3002\u30b3\u30f3\u30d1\u30a4\u30eb\u6e08\u307f\u306eRuby\u3092\u7206\u901f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3082\u53ef\u80fd\u3002<\/td>\n<\/tr>\n<tr>\n<td>gem\u4f9d\u5b58\u7ba1\u7406<\/td>\n<td>bundler<\/td>\n<td>\u5206\u96e2\u74b0\u5883\u3067\u885d\u7a81\u306a\u3057<\/td>\n<\/tr>\n<tr>\n<td>CLI\u30c4\u30fc\u30eb\u5b9f\u884c<\/td>\n<td>gem exec<\/td>\n<td>\n<code>rvx<\/code>\u3067\u5373\u6642\u5b9f\u884c\uff06\u4f9d\u5b58\u89e3\u6c7a<\/td>\n<\/tr>\n<tr>\n<td>\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c<\/td>\n<td>ruby + bundler<\/td>\n<td>\n<code>rv run<\/code>\u3067\u74b0\u5883\u8fbc\u307f\u3067\u5b9f\u884c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Python\u754c\u9688\u3067\u8a71\u984c\u306e\u300cuv\u300d\u3092\u6a2a\u76ee\u306b\u3001\u300cRuby\u306b\u3082\u3053\u3093\u306a\u7d71\u5408\u30c4\u30fc\u30eb\u304c\u3042\u308c\u3070\u300d\u3068\u9858\u3063\u3066\u3044\u305f\u65b9\u306b\u3068\u3063\u3066\u3001rv\u306f\u307e\u3055\u306b\u5f85\u671b\u306e\u30c4\u30fc\u30eb\u3068\u306a\u308a\u305d\u3046\u3067\u3059\u3002rvm\u3084rbenv\u3001bundler\u3092\u99c6\u4f7f\u3057\u3066\u3044\u305f\u65e5\u3005\u304b\u3089\u4e00\u6b69\u8e0f\u307f\u51fa\u3057\u3001\u300c\u8a00\u8a9e\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u300d\u3068\u3044\u3046\u65b0\u3057\u3044\u6982\u5ff5\u304c\u767b\u5834\u3057\u305f\u3053\u3068\u3067\u3001Ruby\u958b\u767a\u306e\u4f53\u9a13\u305d\u306e\u3082\u306e\u304c\u5909\u308f\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ruby\u958b\u767a\u8005\u306a\u3089\u8ab0\u3082\u304c\u4e00\u5ea6\u306f\u300c\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3068\u4f9d\u5b58\u95a2\u4fc2\u300d\u306e\u6cbc\u306b\u306f\u307e\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002rvm\u3001rbenv\u3001bundler\u2026\u306a\u3069\u3055\u307e\u3056\u307e\u306a\u30c4\u30fc\u30eb\u304c\u5b58\u5728\u3057\u3001\u6700\u9069\u306a\u7d44\u307f\u5408\u308f\u305b\u3092\u8003\u3048\u308b\u306e\u306f\u304b\u306a\u308a\u8907\u96d1\u306a\u4f5c\u696d\u3068\u306a\u308a\u307e\u3059\u3002 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":130514,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[154],"class_list":["post-130513","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-ruby"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/130513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=130513"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/130513\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/130514"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=130513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=130513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=130513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}