Skip to content

Commit

Permalink
Add more gda error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jules2689 committed Sep 21, 2018
1 parent f8b4195 commit 2926f35
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
extended_bundler-errors (0.3.0)
extended_bundler-errors (0.3.1)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion lib/extended_bundler/errors/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ExtendedBundler
module Errors
VERSION = "0.3.0"
VERSION = "0.3.1"
HOMEPAGE = "http://github.com/jules2689/extended_bundler-errors"
end
end
12 changes: 9 additions & 3 deletions lib/extended_bundler/handlers/gda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
matching:
- "libgda is missing"
- "checking for libgda/sql-parser/gda-sql-parser.h... no"
- "checking for libgda/sql-parser/gda-sql-parser.h... -------------------- no"
messages:
en: |
You are missing the libgda library
Expand All @@ -18,9 +19,14 @@
- {{command:export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig}}
- You should consider adding that {{command:PKG_CONFIG_PATH}} entry to your environment (bash profile, zshrc, etc)
*Other solution*
{{command:sudo rm -rf /Library/Developer/CommandLineTools/}}
{{command:xcode-select --install}}
*Other solutions*
Xcode Command Line Tools:
- {{command:sudo rm -rf /Library/Developer/CommandLineTools/}}
- {{command:xcode-select --install}}
Bundler Config:
- {{command:bundle config build.gda --with-cflags="'""$(pkg-config --cflags libgda-5.0)""'" --with-ldflags="'""$(pkg-config --libs libgda-5.0)""'"}}
Other:
You can also check https://github.com/GNOME/libgda for more info on how to install

0 comments on commit 2926f35

Please sign in to comment.