You are not logged in.

#1 2014-08-15 22:12:40

Joel
Member
From: Tijuana, BC, México
Registered: 2011-12-21
Posts: 122

[solved] ruby-vte error

I'm the new owner of the package ruby-vte, the package creation is fine, but when I try a single test code:

#!/usr/bin/ruby

require 'gtk2'
require 'vte'

w = Gtk::Window.new
t = Vte::Terminal.new
w.set_title "Ruby Terminal"
w.signal_connect("destroy") do
  Gtk.main_quit
end
t.signal_connect("child-exited") do
 Gtk.main_quit
end
w.add t
w.show_all
Gtk.main

it returns this errors:

/usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'gtk2' (= 2.2.0) among 11 total gem(s) (Gem::LoadError)
	from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1295:in `block in activate_dependencies'
	from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1284:in `each'
	from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1284:in `activate_dependencies'
	from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1266:in `activate'
	from /usr/lib/ruby/2.1.0/rubygems.rb:196:in `rescue in try_activate'
	from /usr/lib/ruby/2.1.0/rubygems.rb:193:in `try_activate'
	from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
	from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
	from test.rb:4:in `<main>'

I have this installed, query by pacman -Qs ruby

local/ruby 2.1.2-1
    An object-oriented language for quick and easy programming
local/ruby-atk 2.2.0-1
    Ruby bindings for atk
local/ruby-cairo 1.12.9-1
    Ruby bindings for cairo
local/ruby-gdkpixbuf2 2.2.0-1
    Ruby bindings for gdkpixbuf2
local/ruby-glib2 2.2.0-1
    Ruby bindings for glib2
local/ruby-gtk2 2.2.0-1
    Ruby bindings for gtk2
local/ruby-pango 2.2.0-1
    Ruby bindings for pango
local/ruby-pkgconfig 1.1.5-1
    Implementation of pkg-config in ruby
local/ruby-vte 2.2.0-2
    Ruby bindings to VTE (gtk2)

any ideas?

Last edited by Joel (2014-08-16 00:55:38)


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.
* AUR contributor.

Offline

#2 2014-08-16 00:55:19

Joel
Member
From: Tijuana, BC, México
Registered: 2011-12-21
Posts: 122

Re: [solved] ruby-vte error

Nevermind, I managed to solve it smile


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.
* AUR contributor.

Offline

#3 2014-08-16 01:04:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,601

Re: [solved] ruby-vte error

Joel wrote:

Nevermind, I managed to solve it smile

And?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2014-08-16 03:33:18

Joel
Member
From: Tijuana, BC, México
Registered: 2011-12-21
Posts: 122

Re: [solved] ruby-vte error

and..you can see the updated PKGBUILD with the changes


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.
* AUR contributor.

Offline

#5 2014-08-16 03:44:27

headkase
Member
Registered: 2011-12-06
Posts: 1,986

Re: [solved] ruby-vte error

Joel wrote:

and..you can see the updated PKGBUILD with the changes

...And most users can't be arsed to put in the effort.  Your non-answer - referring to an external source which will change further over time - is useless and leaves this thread incomplete.

Offline

#6 2014-08-16 03:51:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,601

Re: [solved] ruby-vte error

Meh. It works for me.  As it was, I really did not know what had happened.  At least now, readers will know it was rolled into the AUR solution.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2014-08-16 03:56:45

headkase
Member
Registered: 2011-12-06
Posts: 1,986

Re: [solved] ruby-vte error

The reason I gave the response I did was that the forum is searchable through either the built in functions or an external site like Google.  Someone else who is having a similar issue, say six months from now, might stumble on this thread - which is marked [Solved] - and enter it looking for information that might pertain to the problem they themselves have.  The prescribed solution to this thread is to examine the PKGBUILD.  In six months time that PKGBUILD is likely to have changed rendering the future searcher back to square one.  This thread is an opportunity to document in plain English what went wrong and how it was actually resolved, instead there is a pointer to an evolving and likely not well commented PKGBUILD.

Offline

Board footer

Powered by FluxBB