aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2013-08-05 11:12:12 -0400
committerschneems <richard.schneeman@gmail.com>2013-08-05 12:10:52 -0400
commitf036239447c79843983ee1c0d3dfe68484d63203 (patch)
treefcb37f07ccb111253bb2385d8955d1dbbc1655fd /guides/source
parent3baee0982d25e64cab2eeb046369f0fcf9ee2436 (diff)
downloadrails-f036239447c79843983ee1c0d3dfe68484d63203.tar.gz
rails-f036239447c79843983ee1c0d3dfe68484d63203.tar.bz2
rails-f036239447c79843983ee1c0d3dfe68484d63203.zip
Create sqlite3 directory if not present
If the `db/` directory is not present on a remote machine it will blow up in unexpected ways with error messages that do not indicate there is a missing directory: ``` SQLite3::CantOpenException: unable to open database file ``` This PR checks to see if a directory exists for the sqlite3 file and if not creates it for you. This PR is an alternative to #11692 as suggested by @josevalim
Diffstat (limited to 'guides/source')
0 files changed, 0 insertions, 0 deletions