Open beargiles opened 3 years ago
FYI, I'm having the same problem on 22.04
root@ip-172-31-94-230:/var/lib/postgresql# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
root@ip-172-31-94-230:/var/lib/postgresql# pgxn install pgxn_utils
INFO: best version: pgxn_utils 0.1.4
INFO: saving /tmp/tmpj_hr2x8h/pgxn_utils-0.1.4.zip
INFO: unpacking: /tmp/tmpj_hr2x8h/pgxn_utils-0.1.4.zip
INFO: building extension
gmake: Nothing to be done for 'all'.
INFO: installing extension
gem install --no-rdoc --no-ri ./pkg/pgxn_utils-0.1.4.gem
ERROR: While executing gem ... (Gem::OptionParser::InvalidOption)
invalid option: --no-rdoc
Did you mean? no-force
gmake: *** [Makefile:3: install] Error 1
ERROR: command returned 2: gmake PG_CONFIG=/usr/bin/pg_config install
ruby packages:
root@ip-172-31-94-230:/var/lib/postgresql# dpkg -l | grep ruby
ii libruby3.0:amd64 3.0.2-7ubuntu2.3 amd64 Libraries necessary to run Ruby 3.0
ii rake 13.0.6-2 all ruby make-like utility
ii ruby 1:3.0~exp1 amd64 Interpreter of object-oriented scripting language Ruby (default version)
ii ruby-net-telnet 0.1.1-2 all telnet client library
ii ruby-rubygems 3.3.5-2 all Package management framework for Ruby
ii ruby-webrick 1.7.0-3 all HTTP server toolkit in Ruby
ii ruby-xmlrpc 0.3.2-1ubuntu0.1 all XMLRPC library for Ruby
ii ruby3.0 3.0.2-7ubuntu2.3 amd64 Interpreter of object-oriented scripting language Ruby
ii rubygems-integration 1.18 all integration of Debian Ruby packages with Rubygems
This occurs on an updated copy of Ubuntu 20.04, with pgxn 1.3.2 installed in a virtualenv.
If I use
sudo pgxn install pgxn_utils
If I use
sudo gem install pgxn_utils
I getThe installed packages are