purcell / sqlint

Simple SQL linter supporting ANSI and PostgreSQL syntaxes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation fails

BenQuigley opened this issue · comments

Installing this ($ sudo gem install sqlint) fails for me with:

current directory: /var/lib/gems/2.5.0/gems/pg_query-1.1.0/ext/pg_query        
/usr/bin/ruby2.5 -r ./siteconf20190115-18131-tleqnp.rb extconf.rb              
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h       
                                                                               
extconf failed, exit code 1

I'm running ruby 2.5.1p57on Ubuntu 18.10, if that is useful.

Hmm this is happening with all my gem installs, so never mind.

I needed ruby-dev. relevant SO thread

Glad you figured it out - thanks for following up here to confirm.