{"id":27326,"date":"2023-04-20T03:35:25","date_gmt":"2023-06-09T18:35:59","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/"},"modified":"2025-08-12T02:03:48","modified_gmt":"2025-08-11T18:03:48","slug":"%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/","title":{"rendered":"\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4"},"content":{"rendered":"<p>\u6211\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\uff08OS\u4e3aDebian\uff09\u4e0a\u4f7f\u7528rbenv\u5b89\u88c5\u4e86Ruby\u3002\u56e0\u4e3a\u9047\u5230\u4e86\u4e00\u4e9b\u56f0\u96be\uff0c\u6240\u4ee5\u6211\u6253\u7b97\u603b\u7ed3\u4e00\u4e0b\u6b65\u9aa4\u3002<\/p>\n<p>\u5982\u679c\u60a8\u5c1a\u672a\u5b89\u88c5Git\uff0c\u8bf7\u5148\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff0c\u7136\u540e\u4f7f\u7528git clone\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo apt install git-all\r\n<\/code><\/pre>\n<h6>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff0c\u4eceGitHub\u4ed3\u5e93\u514b\u9686\u4e00\u4e2a\u526f\u672c\u3002<\/h6>\n<pre class=\"post-pre\"><code><span class=\"gp\">$<\/span> git clone https:\/\/github.com\/rbenv\/rbenv.git ~\/.rbenv\r\n<\/code><\/pre>\n<h6>2. \u5141\u8bb8\u901a\u8fc7\u3002<\/h6>\n<pre class=\"post-pre\"><code>$ echo 'export PATH=\"$HOME\/.rbenv\/bin:$PATH\"' &gt;&gt; ~\/.bash_profile\r\n<\/code><\/pre>\n<h6>3. \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u3002<\/h6>\n<pre class=\"post-pre\"><code>$ ~\/.rbenv\/bin\/rbenv init\r\n<\/code><\/pre>\n<p>\u6267\u884c\u547d\u4ee4\u540e\uff0c\u5c06\u4f1a\u663e\u793a\u4e00\u6761\u6d88\u606f\u3002<\/p>\n<pre class=\"post-pre\"><code># Load rbenv automatically by appending\r\n# the following to ~\/.bash_profile:\r\n\r\neval \"$(rbenv init -)\"\r\n<\/code><\/pre>\n<h6>4. \u6839\u636e\u663e\u793a\u7684\u6d88\u606f\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u3002<\/h6>\n<pre class=\"post-pre\"><code>$ echo 'eval \"$(rbenv init -)\"' &gt;&gt; ~\/.bash_profile\r\n<\/code><\/pre>\n<h6>\u4e3a\u4e86\u4f7f\u8def\u5f84\u66f4\u6539\u751f\u6548\uff0c\u8bf7\u91cd\u65b0\u542f\u52a8shell\u3002<\/h6>\n<p>\u4f7f\u7528&#8221;exit&#8221;\u547d\u4ee4\u767b\u51fa\u540e\uff0c\u518d\u6b21\u767b\u5f55\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u7136\u800c\uff0c\u5982\u679c\u91cd\u65b0\u767b\u5f55\uff0c\u7528\u6237\u540d\u53ef\u80fd\u4f1a\u4ece\u7eff\u8272\u53d8\u4e3a\u767d\u8272\u3002\u6211\u4eec\u5c06\u5728\u6700\u540e\u7ed9\u51fa\u89e3\u91ca\u3002<\/p>\n<h6>6. \u4e3a\u4e86\u80fd\u591f\u4f7f\u7528rbenv install\u547d\u4ee4\uff0c\u5b89\u88c5ruby-build\u3002<\/h6>\n<pre class=\"post-pre\"><code>$ mkdir -p \"$(rbenv root)\"\/plugins\r\n$ git clone https:\/\/github.com\/rbenv\/ruby-build.git \"$(rbenv root)\"\/plugins\/ruby-build\r\n<\/code><\/pre>\n<h6>7. \u76ee\u524d\u6267\u884crbenv install\u547d\u4ee4\u4f1a\u53d1\u751f\u9519\u8bef\u3002<\/h6>\n<pre class=\"post-pre\"><code>$ rbenv install 2.7.0\r\nDownloading ruby-2.7.0.tar.bz2...\r\n-&gt; https:\/\/cache.ruby-lang.org\/pub\/ruby\/2.7\/ruby-2.7.0.tar.bz2\r\nInstalling ruby-2.7.0...\r\n\r\nBUILD FAILED (Debian 10 using ruby-build 20200224-6-gd8019fe)\r\n\r\nInspect or clean up the working tree at \/tmp\/ruby-build.20200331004824.8898.ONezFx\r\nResults logged to \/tmp\/ruby-build.20200331004824.8898.log\r\n\r\nLast 10 log lines:\r\nchecking for ruby... false\r\nchecking build system type... x86_64-pc-linux-gnu\r\nchecking host system type... x86_64-pc-linux-gnu\r\nchecking target system type... x86_64-pc-linux-gnu\r\nchecking for gcc... no\r\nchecking for cc... no\r\nchecking for cl.exe... no\r\nconfigure: error: in `\/tmp\/ruby-build.20200331004824.8898.ONezFx\/ruby-2.7.0':\r\nconfigure: error: no acceptable C compiler found in $PATH\r\nSee `config.log' for more details\r\n<\/code><\/pre>\n<h6>\u4e3a\u89e3\u51b3\u9519\u8bef\uff0c\u8bf7\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u3002<\/h6>\n<pre class=\"post-pre\"><code>$ apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev\r\n<\/code><\/pre>\n<p>\u5728ruby-build\u7684wiki\u4e2d\uff0c\u6309\u7167\u64cd\u4f5c\u7cfb\u7edf\u5217\u51fa\u4e86\u7528\u4e8e\u8bbe\u7f6e\u80fd\u591f\u6b63\u786e\u5b89\u88c5ruby\u7684\u6784\u5efa\u73af\u5883\u7684\u547d\u4ee4\u3002<\/p>\n<h6>9. \u8ba9\u6211\u4eec\u518d\u6b21\u6267\u884crbenv install\u547d\u4ee4\u3002\u8fd9\u6b21\u5e94\u8be5\u53ef\u4ee5\u987a\u5229\u8fdb\u884c\u800c\u6ca1\u6709\u9519\u8bef\u3002\u8fd9\u53ef\u80fd\u9700\u8981\u4e00\u4e9b\u65f6\u95f4\u3002<\/h6>\n<pre class=\"post-pre\"><code>$ rbenv install 2.7.0\r\nDownloading ruby-2.7.0.tar.bz2...\r\n-&gt; https:\/\/cache.ruby-lang.org\/pub\/ruby\/2.7\/ruby-2.7.0.tar.bz2\r\nInstalling ruby-2.7.0...\r\nInstalled ruby-2.7.0 to \/home\/xxx\/.rbenv\/versions\/2.7.0\r\n<\/code><\/pre>\n<h6>10. \u53ea\u9700\u901a\u8fc7rbenv global\u547d\u4ee4\u6307\u5b9a\u7248\u672c\u5373\u53ef\u5b8c\u6210\u3002<\/h6>\n<pre class=\"post-pre\"><code>$ rbenv versions\r\n  2.7.0\r\n$ rbenv global 2.7.0\r\n$ rbenv versions\r\n* 2.7.0 (set by \/home\/xxx\/.rbenv\/version)\r\n<\/code><\/pre>\n<h5>\u8bf7\u53c2\u8003<br \/>\n\u8bf7\u60a8\u53c2\u8003\u4e00\u4e0b<br \/>\n\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b<\/h5>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">https:\/\/github.com\/rbenv\/rbenv#how-rbenv-hooks-into-your-shell<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">https:\/\/github.com\/rbenv\/ruby-build<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">https:\/\/github.com\/rbenv\/ruby-build\/wik<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">https:\/\/qiita.com\/tatsurou313\/items\/2a67075ae2416922bff0<\/ul>\n<h3>\u91cd\u65b0\u767b\u5f55\u540e\uff0c\u7528\u6237\u540d\u989c\u8272\u53d1\u751f\u53d8\u5316\u7684\u539f\u56e0<\/h3>\n<p>\u5f53\u4f60\u767b\u5f55\u5230Debian\u7cfb\u7edf\u65f6\uff0c\u6309\u7167\u987a\u5e8f\u67e5\u627e\u4ee5\u4e0b\u6587\u4ef6\uff0c\u5e76\u53ea\u8bfb\u53d6\u627e\u5230\u7684\u7b2c\u4e00\u4e2a\u6587\u4ef6\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u4ee5\u4e0b\u662f\u4e09\u4e2a\u6587\u4ef6\u7684\u8def\u5f84\uff1a<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>~\/.bash_profile<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>~\/.bash_login<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>~\/.profile\uff08\u8be5\u6587\u4ef6\u5305\u542b\u4e86\u52a0\u8f7d.bashrc\u7684\u63cf\u8ff0\uff09<\/ol>\n<p>\u5728\u6211\u7684\u73af\u5883\u4e2d\uff0c\u4e00\u5f00\u59cb\u53ea\u6709\u4e00\u4e2a.profile\u6587\u4ef6\uff0c\u4f46\u662f\u5f53\u6211\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u8bbe\u7f6erbenv\u7684\u8def\u5f84\u65f6\uff0c.bash_profile\u6587\u4ef6\u5c31\u88ab\u521b\u5efa\u4e86\u3002<\/p>\n<pre class=\"post-pre\"><code>$$ echo 'export PATH=\"$HOME\/.rbenv\/bin:$PATH\"' &gt;&gt; ~\/.bash_profile\r\n<\/code><\/pre>\n<p>\u901a\u8fc7\u91cd\u65b0\u767b\u5f55\uff0c.profile\u6587\u4ef6\u4e2d\u7684\u989c\u8272\u8bbe\u7f6e\u5c06\u65e0\u6cd5\u8bfb\u53d6\uff0c\u5e76\u4e14\u7528\u6237\u540d\u7684\u989c\u8272\u4e5f\u4f1a\u6539\u53d8\u3002\u901a\u8fc7\u5728.bash_profile\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u63cf\u8ff0\uff0c\u53ef\u4ee5\u4f7f\u5728\u767b\u5f55\u65f6\u4e5f\u80fd\u8bfb\u53d6.profile\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u5e76\u5c06\u7528\u6237\u540d\u7684\u989c\u8272\u6062\u590d\u4e3a\u7eff\u8272\u3002<\/p>\n<pre class=\"post-pre\"><code>source ~\/.profile\r\n<\/code><\/pre>\n<h5>\u8bf7\u5bf9\u4ee5\u4e0b\u5185\u5bb9\u8fdb\u884c\u4e2d\u6587\u672c\u5730\u5316\u7684\u91ca\u4e49\u3002\u53ea\u9700\u8981\u4e00\u4e2a\u9009\u9879\uff1a<\/h5>\n<p>&#8211; Reference<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">https:\/\/qiita.com\/fj_\/items\/a46769541ffff3093889<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">https:\/\/qiita.com\/hiesiea\/items\/860c42a96b031f929b94<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">https:\/\/qiita.com\/hirokishirai\/items\/5a529c8395c4b336bf31<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">https:\/\/qiita.com\/magicant\/items\/d3bb7ea1192e63fba850<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\uff08OS\u4e3aDebian\uff09\u4e0a\u4f7f\u7528rbenv\u5b89\u88c5\u4e86Ruby\u3002\u56e0\u4e3a\u9047\u5230\u4e86\u4e00\u4e9b\u56f0\u96be\uff0c\u6240\u4ee5\u6211\u6253\u7b97\u603b\u7ed3\u4e00\u4e0b\u6b65\u9aa4 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-27326","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728debian\u4e0a\u5b89\u88c5ruby\u7684\u6b65\u9aa4-3\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728debian\u4e0a\u5b89\u88c5ruby\u7684\u6b65\u9aa4-3\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-09T18:35:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-11T18:03:48+00:00\" \/>\n<meta name=\"author\" content=\"\u97f5, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u97f5, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/\",\"name\":\"\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-06-09T18:35:59+00:00\",\"dateModified\":\"2025-08-11T18:03:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\"},\"description\":\"\u5173\u4e8e\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\",\"name\":\"\u97f5, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"caption\":\"\u97f5, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4\u7684\u6280\u672f\u6587\u7ae0","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:\/\/www.silicloud.com\/zh\/blog\/\u5728debian\u4e0a\u5b89\u88c5ruby\u7684\u6b65\u9aa4-3\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4","og_description":"\u5173\u4e8e\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728debian\u4e0a\u5b89\u88c5ruby\u7684\u6b65\u9aa4-3\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-06-09T18:35:59+00:00","article_modified_time":"2025-08-11T18:03:48+00:00","author":"\u97f5, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u97f5, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/","name":"\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-06-09T18:35:59+00:00","dateModified":"2025-08-11T18:03:48+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e"},"description":"\u5173\u4e8e\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728Debian\u4e0a\u5b89\u88c5Ruby\u7684\u6b65\u9aa4"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e","name":"\u97f5, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","caption":"\u97f5, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian%e4%b8%8a%e5%ae%89%e8%a3%85ruby%e7%9a%84%e6%ad%a5%e9%aa%a4-3\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/27326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=27326"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/27326\/revisions"}],"predecessor-version":[{"id":56247,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/27326\/revisions\/56247"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=27326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=27326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=27326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}