Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4631

bundle install is hanging when installing gems

$
0
0

I'm trying to install Canvas LMS on an Ubuntu 22.04 system.

I've tried running bundle install on the required gems as given by Canvas LMS.

This is the output I get:

Resolving dependencies...Fetching https://github.com/wrapbook/crystalball.gitFetching https://github.com/instructure/rspecq.gitFetching https://github.com/twitter/thrift_client.gitFetching https://github.com/kreynolds/cassandra-cql.gitFetching gem metadata from https://rubygems.org/........Resolving dependencies...Installing oj 3.16.3 with native extensionsInstalling pg_query 5.1.0 with native extensions

It gets stuck on install pg_query forever. I left it there for 2h and nothing happens.

Oddly, I did manage to install that gem manually by going gem install pg_query manually. It worked, and I can see the following when doing gem info pg_query

*** LOCAL GEMS ***pg_query (5.1.0)    Author: Lukas Fittl    Homepage: https://github.com/pganalyze/pg_query    License: BSD-3-Clause    Installed at: /home/ubuntu/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0    PostgreSQL query parsing and normalization library

I don't understand 2 things:

  1. Why does it keep hanging when install pg_query?
  2. Why does it even want to install pg_query? It's already there.

Viewing all articles
Browse latest Browse all 4631

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>