I'm trying to get my Travis tests not to require sudo. To do so I have had to install libgraphqlparser to a custom directory. That's ok:
if [ ! -d $HOME/gql ]; then
wget https://github.com/graphql/libgraphqlparser/archive/v0.7.0.tar.gz
tar -xzvf v0.7.0.tar.gz
cd libgraphqlparser-0.7.0/ && cmake . && make && make DESTDIR=$HOME/gql install && cd ..
fi
But I can't work out what incantation of
gem install graphql-libgraphqlparser -- --with-graphqlparserlib=XXX
will actually use that directory. Looking here I'm not sure it ever will, seems like the paths checked are hardcoded?