<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kano4</author_name>
  <author_url>https://blog.hatena.ne.jp/kano4/</author_url>
  <blog_title>30日でいいのでプログラミング</blog_title>
  <blog_url>https://kano4.hatenadiary.org/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>Rails3で % rake db:createを実行すると、下のようなエラーが出た。 エラー内容 rake aborted! undefined method `task' for #&lt;Blog::Application:0x000000018869d0&gt; (See full trace by running task with --trace) 環境 Ruby 1.9.2p180 Rails 3.0.7 rake 0.9.0 解決方法 調べてみるとどうやらrake0.9.0のバグのせいらしい。 そこで、Rakefileに以下の行を加えることで解決。 Rakefile(編集前) requir…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkano4.hatenadiary.org%2Fentry%2F20110528%2Fundefined_task&quot; title=&quot;Rails3のエラー「undefined method `task&amp;#39;」 - 30日でいいのでプログラミング&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>2011-05-28 00:00:00</published>
  <title>Rails3のエラー「undefined method `task'」</title>
  <type>rich</type>
  <url>https://kano4.hatenadiary.org/entry/20110528/undefined_task</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
