{"id":614,"date":"2018-06-20T21:22:32","date_gmt":"2018-06-20T12:22:32","guid":{"rendered":"https:\/\/yuis-programming.com\/?p=614"},"modified":"2021-12-11T21:07:37","modified_gmt":"2021-12-11T12:07:37","slug":"rails-c%e5%ae%9f%e8%a1%8c%e6%99%82%e3%81%ab%e8%87%aa%e5%8b%95%e3%81%a7%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e3%82%92%e8%aa%ad%e3%81%bf%e8%be%bc%e3%82%80%e3%80%8c-irbrc%e3%80%8d%e3%81%ae","status":"publish","type":"post","link":"https:\/\/yuis-programming.com\/?p=614","title":{"rendered":"&#8220;rails c&#8221;\u5b9f\u884c\u6642\u306b\u81ea\u52d5\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8aad\u307f\u8fbc\u3080\u300c.irbrc\u300d\u306e\u4f7f\u3044\u65b9"},"content":{"rendered":"<p>\u50d5\u306fRails\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u958b\u3044\u305f\u3042\u3068\u3001<code>Hirb.enable<\/code>\u3092\u6bce\u5ea6\u3084\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u6bce\u5ea6\u3084\u308b\u306e\u9762\u5012\u3067\u3059\u3088\u306d\u3002<br \/>\n<code>.bashrc<\/code>\u3068\u540c\u69d8\u3001\u5b9f\u884c\u524d\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u5b9f\u884c\u3057\u3066\u304f\u308c\u308b\u6a5f\u80fd\u304cirb\u306b\u3082\u3042\u308b\u307f\u305f\u3044\u306a\u306e\u3067\u3001\u305d\u308c\u306e\u4f7f\u3044\u65b9\u3067\u3059\u3002<\/p>\n<p>Rails5\u3060\u3068\u3001<code>.irbrc<\/code>\u306f\u3069\u3053\u306b\u3082\u898b\u5f53\u305f\u3089\u306a\u3044\u306e\u3067\u3001\u81ea\u5206\u3067\u4f5c\u308b\u3057\u304b\u306a\u3044\u307f\u305f\u3044\u3067\u3059\u3002<br \/>\n\u30a2\u30d7\u30ea\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b<code>.irbrc<\/code>\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3042\u3068\u306f\u3001\u3044\u3064\u3082\u5b9f\u884c\u3057\u3066\u3044\u308b\u30b3\u30de\u30f3\u30c9\u3092\u305d\u3053\u306b\u304b\u3044\u3066\u304a\u304f\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001pry\u3067\u3082\u540c\u3058\u3053\u3068\u304c\u3067\u304d\u308b\u307f\u305f\u3044\u3067\u3059\u3002(<code>.pryrc<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3002)<\/p>\n<ul>\n<li>\u53c2\u8003<\/li>\n<\/ul>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/3860297\/irbrc-file-not-loaded-by-rails-console\/5186405\">https:\/\/stackoverflow.com\/questions\/3860297\/irbrc-file-not-loaded-by-rails-console\/5186405<\/a><\/p>\n<p>.irbrc(\u81ea\u5206\u7528)<\/p>\n<pre><code>Hirb.enable\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u50d5\u306fRails\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u958b\u3044\u305f\u3042\u3068\u3001Hirb.enable\u3092\u6bce\u5ea6\u3084\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u6bce\u5ea6\u3084\u308b\u306e\u9762\u5012\u3067\u3059\u3088 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"acf":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rxwo-9U","_links":{"self":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/614"}],"collection":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=614"}],"version-history":[{"count":2,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/614\/revisions"}],"predecessor-version":[{"id":3697,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/614\/revisions\/3697"}],"wp:attachment":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}