{"id":2664,"date":"2022-08-30T15:26:45","date_gmt":"2022-08-30T15:26:45","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/02\/05\/error-when-creating-database-with-a-ror-app-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:26:45","modified_gmt":"2022-08-30T15:26:45","slug":"error-when-creating-database-with-a-ror-app-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/error-when-creating-database-with-a-ror-app-collection-of-common-programming-errors\/","title":{"rendered":"Error when creating database with a RoR app-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m totally new to Rails development, but I had this same problem this week. Eventually, I replaced the line <code>gem 'sqlite-ruby, :require =&gt; 'sqlite3'<\/code> with <code>gem 'sqlite3-ruby', '1.2.5', :require =&gt; 'sqlite3'<\/code> (in the Gemfile)<\/p>\n<p>I had to do this because I&#8217;m running Mac OS 10.5.8 rather than 10.6<\/p>\n<p>Maybe that will help.<\/p>\n<p id=\"rop\"><small>Originally posted 2014-02-05 08:10:26. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m totally new to Rails development, but I had this same problem this week. Eventually, I replaced the line gem &#8216;sqlite-ruby, :require =&gt; &#8216;sqlite3&#8217; with gem &#8216;sqlite3-ruby&#8217;, &#8216;1.2.5&#8217;, :require =&gt; &#8216;sqlite3&#8242; (in the Gemfile) I had to do this because I&#8217;m running Mac OS 10.5.8 rather than 10.6 Maybe that will help. Originally posted 2014-02-05 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2664","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2664"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2664\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}