{"published":"2011-05-28 00:00:00","provider_name":"Hatena Blog","title":"Rails3\u306e\u30a8\u30e9\u30fc\u300cundefined method `task'\u300d","version":"1.0","blog_title":"30\u65e5\u3067\u3044\u3044\u306e\u3067\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","image_url":null,"categories":["Rails"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkano4.hatenadiary.org%2Fentry%2F20110528%2Fundefined_task\" title=\"Rails3\u306e\u30a8\u30e9\u30fc\u300cundefined method `task&#39;\u300d - 30\u65e5\u3067\u3044\u3044\u306e\u3067\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://kano4.hatenadiary.org/","url":"https://kano4.hatenadiary.org/entry/20110528/undefined_task","height":"190","author_name":"kano4","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/kano4/","description":"Rails3\u3067 % rake db:create\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3002 \u30a8\u30e9\u30fc\u5185\u5bb9 rake aborted! undefined method `task' for #<Blog::Application:0x000000018869d0> (See full trace by running task with --trace) \u74b0\u5883 Ruby 1.9.2p180 Rails 3.0.7 rake 0.9.0 \u89e3\u6c7a\u65b9\u6cd5 \u8abf\u3079\u3066\u307f\u308b\u3068\u3069\u3046\u3084\u3089rake0.9.0\u306e\u30d0\u30b0\u306e\u305b\u3044\u3089\u3057\u3044\u3002 \u305d\u3053\u3067\u3001Rakefile\u306b\u4ee5\u4e0b\u306e\u884c\u3092\u52a0\u3048\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3002 Rakefile(\u7de8\u96c6\u524d) requir\u2026","width":"100%","type":"rich"}