Re: GKrellmms - Streaming Live Audio

Chris <[email protected]> Mon, 09 Apr 2018 21:31:51 -0500
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
--=-zrhZ6LDLgobmy6CuXoIc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, 2018-04-10 at 11:05 +1000, Adam Nielsen wrote:
> >=20
> >=20
> > Not sure how to run the command=C2=A0
> > command ['/usr/bin/ruby', '-rrbconfig', '-e', "puts
> > Config::CONFIG['archdir']"] returned 1
> I'm guessing each entry in the list is another parameter, so
> something
> like:
>=20
> =C2=A0 /usr/bin/ruby -rrbconfig -e "puts Config::CONFIG['archdir']"
>=20
I've never messed with Ruby - anyway, here is the output of the
command. I added the -d (debug) option

/usr/bin/ruby -d -rrbconfig -e "puts Config::CONFIG['archdir']"
Exception `LoadError' at /usr/lib/ruby/2.3.0/rubygems.rb:1251 - cannot
load such file -- rubygems/defaults/ruby
Exception `NameError' at -e:1 - uninitialized constant Config
Did you mean?=C2=A0=C2=A0RbConfig
-e:1:in `<main>': uninitialized constant Config (NameError)
Did you mean?=C2=A0=C2=A0RbConfig

I have several rbconfig (no RbConfig:

/usr/lib/ruby/2.3.0/rbconfig
/usr/lib/x86_64-linux-gnu/ruby/2.3.0/rbconfig

I have the below but no rubygems/defaults/ruby

/usr/lib/ruby/2.3.0/rubygems/defaults.rb
/usr/lib/ruby/vendor_ruby/rubygems/defaults

Line 1251 of

/usr/lib/ruby/2.3.0/rubygems.rb:1251
require "rubygems/defaults/#{RUBY_ENGINE}"

My brain is so warped at the moment not sure whether I'm coming or
going with this. I did find this link however
https://github.com/xmms2/wiki/wiki/Using-ICES-Output#compile-ices-outpu
t

But again, I'm not having any luck. Maybe a fresh start tomorrow with
be better.


> If Ruby is installed then it must be something about this command
> that
> doesn't work.=C2=A0=C2=A0I haven't used Ruby much myself though so not re=
ally
> sure what it might be.
>=20
> > ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
> Maybe this version is too old?=C2=A0=C2=A0Hopefully the above command giv=
es you
> something helpful.
>=20
> Cheers,
> Adam.
>=20
--=20
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
21:11:15 up 5 days, 12:18, 2 users, load average: 3.55, 2.33, 1.47
Description:	Ubuntu 16.04.4 LTS, kernel 4.13.0-38-generic

--=-zrhZ6LDLgobmy6CuXoIc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEABECAAYFAlrMIhcACgkQ43Kn2pjmcFyfqACcDEH2awYMTOdK+K1PWz2LkmXv
7EAAnRHhxuJib/DSSd+fq7Piz114nRiC
=MkHa
-----END PGP SIGNATURE-----

--=-zrhZ6LDLgobmy6CuXoIc--