<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mi_kattun</author_name>
  <author_url>https://blog.hatena.ne.jp/mi_kattun/</author_url>
  <blog_title>orangain flavor</blog_title>
  <blog_url>https://orangain.hatenablog.com/</blog_url>
  <categories>
    <anon>deployment</anon>
  </categories>
  <description>はじめに Ruby製のデプロイツールであるCapistranoを使ってみました。いろいろなレシピを眺めていると、sudoの書き方が次のようにいろいろあって違いがわからなかったので、調べてみました。 sudo &quot;hoge&quot; # (1) sudoアクション run &quot;sudo hoge&quot; # (2) 文字列 &quot;sudo&quot; run &quot;#{sudo} hoge&quot; # (3) 文字列 &quot;#{sudo}&quot; run &quot;#{try_sudo} huge&quot; # (4) 文字列 &quot;#{try_sudo}&quot; なお、対象のバージョンは、執筆時点で最新の2.14.2です。 (1) sudoアクション この書き方は、de…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Forangain.hatenablog.com%2Fentry%2Fcapistrano-sudo&quot; title=&quot;Capistranoでのsudoの書き方 - orangain flavor&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-04-08 21:26:41</published>
  <title>Capistranoでのsudoの書き方</title>
  <type>rich</type>
  <url>https://orangain.hatenablog.com/entry/capistrano-sudo</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
