diff --git a/lib/extended_bundler/handlers/sqlite.yml b/lib/extended_bundler/handlers/sqlite.yml new file mode 100644 index 0000000..93bc56b --- /dev/null +++ b/lib/extended_bundler/handlers/sqlite.yml @@ -0,0 +1,23 @@ +- + versions: all + matching: + - 'fatal error: sqlite3.h: No such file or directory' + messages: + en: | + {{bold:What is the problem?}} + You are missing the SQLite binaries required to install the gem. + + {{bold:What can I do?}} + Mac: One of these might help: + - {{command:brew install sqlite}} + - {{command:brew install ruby-dev}} + + Linux: One of these might help: + APT: + - {{command:sudo apt-get install ruby-dev}} + - {{command:sudo apt-get install libsqlite3-dev}} + - {{command:sudo apt-get install make}} + + YUM: + - {{command:yum install sqlite3-devel}} + diff --git a/lib/extended_bundler/handlers/sqlite3.yml b/lib/extended_bundler/handlers/sqlite3.yml index 7cc0f88..cf20b75 100644 --- a/lib/extended_bundler/handlers/sqlite3.yml +++ b/lib/extended_bundler/handlers/sqlite3.yml @@ -3,6 +3,7 @@ matching: - cannot load such file -- mkmf - sqlite3 is missing + - sqlite3.h is missing messages: en: | {{bold:What is the problem?}}