Can someone link me a picture of SWT on Linux that objectively looks good?

My GTK was always working

I thought you had an issue, which you shared and got a reply for by
Kou. Details are clearly here:

You definitely had issues with GTK.

I can't help you if you won't admit the truth or that you have a problem.

"Well, on my Mint machine, I couldn't install gtk3 either, though apt

install ruby-gtk3 works fine

a@a:~$ jruby glimmer
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
jnr.posix.JavaLibCHelper$ReflectiveAccess to method
sun.nio.ch.SelChImpl.getFD()
WARNING: Please consider reporting this to the maintainers of
jnr.posix.JavaLibCHelper$ReflectiveAccess
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
LoadError: no such file to load -- glimmer-dsl-swt
  require at org/jruby/RubyKernel.java:956
  require at
/usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
   <main> at glimmer:2
a@a:~$ ruby glimmer
Traceback (most recent call last):
2: from glimmer:2:in `<main>'
1: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
`require'
/usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require':
cannot load such file -- glimmer-dsl-swt (LoadError)
9: from glimmer:2:in `<main>'
8: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:156:in
`require'
7: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:168:in
`rescue in require'
6: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:168:in
`require'
5: from
/var/lib/gems/2.7.0/gems/glimmer-dsl-swt-4.21.0.1/lib/glimmer-dsl-swt.rb:46:in
`<top (required)>'
4: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
`require'
3: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
`require'
2: from
/var/lib/gems/2.7.0/gems/glimmer-dsl-swt-4.21.0.1/lib/glimmer/dsl/swt/dsl.rb:23:in
`<top (required)>'
1: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
`require'
/usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require':
cannot load such file --
/var/lib/gems/2.7.0/gems/glimmer-dsl-swt-4.21.0.1/vendor/swt/linux/swt.jar
(LoadError)
a@a:~$ ^C
a@a:~$"

"a@a:~$ sudo apt-get purge ruby-gtk3

Display all 4059 possibilities? (y or n)^C
a@a:~$ apt install open-jdk16^C
a@a:~$ sudo apt-get purge ruby-gtk3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  ruby-atk ruby-cairo ruby-cairo-gobject ruby-gdk-pixbuf2 ruby-gdk3
ruby-gio2
  ruby-glib2 ruby-gobject-introspection ruby-pango ruby-pkg-config
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  ruby-gtk3* ruby-webkit2-gtk*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 2,272 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 609700 files and directories currently installed.)
Removing ruby-webkit2-gtk (3.4.1-2build1) ...
Removing ruby-gtk3:amd64 (3.4.1-2build1) ...
a@a:~$ sudo apt autoremove --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ruby-atk* ruby-cairo* ruby-cairo-gobject* ruby-gdk-pixbuf2* ruby-gdk3*
  ruby-gio2* ruby-glib2* ruby-gobject-introspection* ruby-pango*
  ruby-pkg-config*
0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
After this operation, 1,766 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 609227 files and directories currently installed.)
Removing ruby-gdk3 (3.4.1-2build1) ...
Removing ruby-atk (3.4.1-2build1) ...
Removing ruby-pango:amd64 (3.4.1-2build1) ...
Removing ruby-cairo-gobject:amd64 (3.4.1-2build1) ...
Removing ruby-cairo:amd64 (1.16.5-1build1) ...
Removing ruby-gdk-pixbuf2 (3.4.1-2build1) ...
Removing ruby-gio2:amd64 (3.4.1-2build1) ...
Removing ruby-gobject-introspection:amd64 (3.4.1-2build1) ...
Removing ruby-glib2:amd64 (3.4.1-2build1) ...
Removing ruby-pkg-config (1.4.0-1) ...
a@a:~$ sudo gem install gtk3
Building native extensions. This could take a while...
ERROR: Error installing gtk3:
ERROR: Failed to build gem native extension.

    current directory:
/var/lib/gems/2.7.0/gems/gobject-introspection-3.4.9/ext/gobject-introspection
/usr/bin/ruby2.7 -I /usr/lib/ruby/2.7.0 -r
./siteconf20211022-2544-1kla93u.rb extconf.rb
checking for --enable-debug-build option... no
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... yes
checking for -Wformat=2 option to compiler... yes
checking for -Winit-self option to compiler... yes
checking for -Wlarger-than-65500 option to compiler... yes
checking for -Wmissing-declarations option to compiler... yes
checking for -Wmissing-format-attribute option to compiler... yes
checking for -Wmissing-include-dirs option to compiler... yes
checking for -Wmissing-noreturn option to compiler... yes
checking for -Wmissing-prototypes option to compiler... yes
checking for -Wnested-externs option to compiler... no
checking for -Wold-style-definition option to compiler... yes
checking for -Wpacked option to compiler... yes
checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
checking for -Wpointer-arith option to compiler... yes
checking for -Wundef option to compiler... yes
checking for -Wout-of-line-declaration option to compiler... no
checking for -Wunsafe-loop-optimizations option to compiler... yes
checking for -Wwrite-strings option to compiler... yes
checking for Homebrew... yes
checking for gobject-introspection-1.0... no
installing 'gobject-introspection' native package... failed
Failed to run 'brew install gobject-introspection'.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You
may
need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)2.7
--enable-debug-build
--disable-debug-build
--with-pkg-config
--without-pkg-config
--with-override-variables
--without-override-variables

To see why this extension failed to compile, please check the mkmf.log
which can be found here:

/var/lib/gems/2.7.0/extensions/x86_64-linux/2.7.0/gobject-introspection-3.4.9/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in
/var/lib/gems/2.7.0/gems/gobject-introspection-3.4.9 for inspection.
Results logged to
/var/lib/gems/2.7.0/extensions/x86_64-linux/2.7.0/gobject-introspection-3.4.9/gem_make.out
a@a:~$"

"a@a:/home$ sudo gem install vte3

Building native extensions. This could take a while...
ERROR: Error installing vte3:
ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.7.0/gems/vte3-3.4.9/dependency-check
/usr/bin/ruby2.7 -I/usr/lib/ruby/2.7.0/rubygems -rrubygems
/var/lib/gems/2.7.0/gems/rake-13.0.6/exe/rake
RUBYARCHDIR\=/var/lib/gems/2.7.0/extensions/x86_64-linux/2.7.0/vte3-3.4.9
RUBYLIBDIR\=/var/lib/gems/2.7.0/extensions/x86_64-linux/2.7.0/vte3-3.4.9
installing 'vte3' native package... /bin/bash:
/usr/Library/Homebrew/brew.sh: No such file or directory
installing 'vte3' native package... failed
failed
Failed to run 'brew install vte3'.
Failed to run 'brew install vte3'.

···
Gregory Cohen
10d

irb(main):001:0> require 'gtk3'
=> true
irb(main):002:0> require 'vte'
Traceback (most recent call last):
21: from /usr/bin/irb:23:in `<main>'
20: from /usr/bin/irb:23:in `load'
19: from /var/lib/gems/2.7.0/gems/irb-1.3.7/exe/irb:11:in `<top (required)>'
2: from (irb):2:in `<main>'
1: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
`require'
/usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require':
cannot load such file -- vte (LoadError)
28: from /usr/bin/irb:23:in `<main>'
27: from /usr/bin/irb:23:in `load'
26: from /var/lib/gems/2.7.0/gems/irb-1.3.7/exe/irb:11:in `<top (required)>'
9: from (irb):2:in `<main>'
8: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:156:in
`require'
7: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:161:in
`rescue in require'
6: from /usr/lib/ruby/2.7.0/rubygems.rb:209:in `try_activate'
5: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1373:in `activate'
4: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1391:in
`activate_dependencies'
3: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1391:in `each'
2: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1405:in `block in
activate_dependencies'
1: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1371:in `activate'
/usr/lib/ruby/2.7.0/rubygems/specification.rb:2245:in `raise_if_conflicts':
Unable to activate gtk2-3.4.3, because atk-3.4.9 conflicts with atk (=
3.4.3), pango-3.4.9 conflicts with pango (= 3.4.3), gdk_pixbuf2-3.4.9
conflicts with gdk_pixbuf2 (= 3.4.3) (Gem::ConflictError)
29: from /usr/bin/irb:23:in `<main>'
28: from /usr/bin/irb:23:in `load'
27: from /var/lib/gems/2.7.0/gems/irb-1.3.7/exe/irb:11:in `<top (required)>'
10: from (irb):2:in `<main>'
9: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:156:in
`require'
8: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:161:in
`rescue in require'
7: from /usr/lib/ruby/2.7.0/rubygems.rb:208:in `try_activate'
6: from /usr/lib/ruby/2.7.0/rubygems.rb:215:in `rescue in try_activate'
5: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1373:in `activate'
4: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1391:in
`activate_dependencies'
3: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1391:in `each'
2: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1405:in `block in
activate_dependencies'
1: from /usr/lib/ruby/2.7.0/rubygems/specification.rb:1371:in `activate'
/usr/lib/ruby/2.7.0/rubygems/specification.rb:2245:in `raise_if_conflicts':
Unable to activate gtk2-3.4.3, because atk-3.4.9 conflicts with atk (=
3.4.3), pango-3.4.9 conflicts with pango (= 3.4.3), gdk_pixbuf2-3.4.9
conflicts with gdk_pixbuf2 (= 3.4.3) (Gem::ConflictError)"

···

On Mon, Nov 1, 2021 at 11:31 PM Gregory Cohen <gregorycohen2@gmail.com> wrote:

"prompt" is not defined

On Mon, Nov 1, 2021 at 11:25 PM hmdne <hmdne@airmail.cc> wrote:

On 11/2/21 03:59, Gregory Cohen wrote:
> I hate to break it to you, but people don't use your gem. It only has
> 74,000 downloads, which is not very many at all. Rails has more
> downloads than the population of the US.

Popularity doesn't imply that something is the best solution out there.
Marketing is unfortunately important to kickstart. Lesser known
programmers may be talented, but are struggling to find a mindshare,
contributors and reviewers. Surely, more popular software is more likely
to be polished better, but this comes at a cost of lesser innovation due
to compatibility breaking issues.

> Moreover, it's hard to install. I have tried to install it multiple
> times now, but it doesn't install. There is nothing wrong with my
> system, but it doesn't run. I can't even run Hello world, and I know a
> lot of other people would run into the same issue.
> You didn't provide any help with that, and recommended that I
> "reinstall my system".

It may be a good idea to provide a Docker/Podman Dockerfile. This is a
modern equivalent of "reinstalling the system" without actually
reinstalling it :smiley:

> I have a new gem I made a couple of weeks ago and I already have
3,000 downloads. It's increasing very fast.

You may be missing a fact, that there are a lot of bots automatically
downloading gems for eg. testing purposes or vulnerability scanning.

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

--
Andy Maleh

LinkedIn: Andy Maleh - Lexop | LinkedIn
Blog: http://andymaleh.blogspot.com
GitHub: http://www.github.com/AndyObtiva