{"author_url":"https://blog.hatena.ne.jp/karlley_jp/","blog_url":"https://karlley.hatenablog.jp/","description":"GitHub\u306b\u30a2\u30c3\u30d7\u3057\u305f\u304f\u306a\u3044API\u30ad\u30fc\u3084\u30d1\u30b9\u30ef\u30fc\u30c9\u7b49\u3092\u74b0\u5883\u5909\u6570\u3068\u3057\u3066\u8a2d\u5b9a\u3059\u308bgem\u3002 bkeepers/dotenv: A Ruby gem to load environment variables from `.env`. \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Gemfile \u306b\u8ffd\u8a18\u5f8cbundle install \u3059\u308b\u3060\u3051\u3002 # Gemfile ... # \u8ffd\u8a18 gem 'dotenv-rails', groups: [:development, :test] .env\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210 \u74b0\u5883\u5909\u6570\u3092\u8a2d\u5b9a\u3059\u308b.env \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3002 $ cd project_root_path $ touch .env # .env\u2026","type":"rich","blog_title":"\u6642\u3005\u3068\u304a\u307e\u308f\u308a","height":"190","categories":["Gem","Rails"],"provider_url":"https://hatena.blog","author_name":"karlley_jp","url":"https://karlley.hatenablog.jp/entry/2022/09/13/195059","version":"1.0","width":"100%","title":"dotenv gem\u306e\u4f7f\u3044\u65b9","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkarlley.hatenablog.jp%2Fentry%2F2022%2F09%2F13%2F195059\" title=\"dotenv gem\u306e\u4f7f\u3044\u65b9 - \u6642\u3005\u3068\u304a\u307e\u308f\u308a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"published":"2022-09-13 19:50:59"}