{"version":"1.0","title":"Jenkins\u306e\u30b8\u30e7\u30d6\u3054\u3068\u306bdatabase.yml\u3092\u52d5\u7684\u751f\u6210\u3059\u308b","blog_url":"https://sue445.hatenablog.com/","provider_name":"Hatena Blog","width":"100%","url":"https://sue445.hatenablog.com/entry/2014/06/02/232542","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsue445.hatenablog.com%2Fentry%2F2014%2F06%2F02%2F232542\" title=\"Jenkins\u306e\u30b8\u30e7\u30d6\u3054\u3068\u306bdatabase.yml\u3092\u52d5\u7684\u751f\u6210\u3059\u308b - \u304f\u308a\u306b\u3063\u304d\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/sue445/","provider_url":"https://hatena.blog","image_url":null,"author_name":"sue445","categories":["Jenkins","Rails"],"type":"rich","description":"database.yml\u3063\u3066\u66f8\u3044\u3066\u307e\u3059\u304c\u30d5\u30a1\u30a4\u30eb\u306a\u3089\u306a\u3093\u3067\u3082\u3044\u3051\u307e\u3059 \u524d\u63d0 \u81ea\u5206\u306e\u30d3\u30eb\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u3060\u3068\u3053\u3046\u3044\u3046\u98a8\u306b\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059 # \u6700\u521d\u306bJenkins\u7528\u306eDB\u63a5\u7d9a\u60c5\u5831\u304c\u66f8\u304b\u308c\u305fdatabase.yml\u3092\u4f5c\u308b cp config/database.yml.jenkins config/database.yml # \u3042\u3068\u306f\u666e\u901a\u306b\u30c6\u30b9\u30c8 RAILS_ENV=test bundle exec rake db:create RAILS_ENV=test bundle exec rake db:migrate:reset bundle exec rspec \u3057\u304b\u3057\u3053\u308c\u3060\u3068\u540c\u3058\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u5225\u3005\u306e\u30b8\u2026","blog_title":"\u304f\u308a\u306b\u3063\u304d","height":"190","published":"2014-06-02 23:25:42"}