<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayuzin</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayuzin/</author_url>
  <blog_title>hamayuzinの日記</blog_title>
  <blog_url>https://hamayuzin.hatenablog.com/</blog_url>
  <categories>
    <anon>rails</anon>
  </categories>
  <description>環境: rails5.1 ruby 2.4.1 seed fu いいよね。便利で。 capistrano deploy時に、seed fuを毎回自動で走らせたい時があったので その方法をメモ 注意 今回はstaging環境で、初期開発時に、社内テスト触る環境を毎回作るのがまんどくさくて、自動化した あまり やらないほうが良い気もする 自動化 lib/capistrano/tasks/seed_fu.rakeに 実行するコマンドを記述 namespace :seed_fu do task :apply do if fetch(:rails_env) == :staging on roles(:d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhamayuzin.hatenablog.com%2Fentry%2F2017%2F10%2F28%2F210802&quot; title=&quot;【Rails/seed_fu】railsでcapistrano deploy時に、seed fuを毎回自動で走らせたい - hamayuzinの日記&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>2017-10-28 21:08:02</published>
  <title>【Rails/seed_fu】railsでcapistrano deploy時に、seed fuを毎回自動で走らせたい</title>
  <type>rich</type>
  <url>https://hamayuzin.hatenablog.com/entry/2017/10/28/210802</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
