<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naka_no_mura</author_name>
  <author_url>https://blog.hatena.ne.jp/naka_no_mura/</author_url>
  <blog_title>コードロード</blog_title>
  <blog_url>https://naka-no-mura.hateblo.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>AWS</anon>
    <anon>Capistrano</anon>
  </categories>
  <description>解決方法 app/config/unicorn/production.rb に下記を追記 before_exec do |server| ENV[&quot;BUNDLE_GEMFILE&quot;] = File.join(File.expand_path(&quot;../../../../&quot;, __FILE__), &quot;current&quot;, &quot;Gemfile&quot;) end ローカルにて下記コマンドでunicornをSTOPしてSTARTしてあげる。 $ bundle exec cap production unicorn:stop $ bundle exec cap production unicorn:start 原因 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaka-no-mura.hateblo.jp%2Fentry%2Fgemfile_not_found&quot; title=&quot;【Rails×Capistrano】Gemfile not found (Bundler::GemfileNotFound) - コードロード&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>2022-01-04 23:26:59</published>
  <title>【Rails×Capistrano】Gemfile not found (Bundler::GemfileNotFound)</title>
  <type>rich</type>
  <url>https://naka-no-mura.hateblo.jp/entry/gemfile_not_found</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
