Installing Ruby-GNOME2

The Ruby-GNOME2 is a set of Ruby language bindings for the GNOME 2.0. To install it just download one of the packages. If you want just the basic interaction with GLib or GTK the ruby-gtk2-(version).tar.gz package is enough. If you are not quite sure about your needs, download the whole package ruby-gnome2-all-(version).tar.gz. Extract it wherever you want and use the commands, root privilegies are needed:
  • “ruby extconf.rb”
  • make
  • make install

If everything goes well, you will receive the following message:

—–
SUCCEEDED:  glib gtk
FAILED: NONE
—–

Done.

That’s it.

3 Responses to Installing Ruby-GNOME2

  1. Giovanni says:

    Hello thank you for your post!
    unfortunately with both packages
    ruby-gnome2-all-0.90.5.tar.gz
    and
    ruby-gtk2-0.90.5.tar.gz
    after the make terminal command
    I get the message:

    SUCCEEDED: NONE
    FAILED: NONE
    —–
    Done.

    Do you have any idea of how to get over it?
    OS : Ubuntu 10.04 (Lucid Lynx) [x86_64-linux]
    ruby : 1.9.2p136 (2010-12-25 revision 30365)

    Thank you, regards
    Giovanni

  2. Giovanni says:

    Hello, just want to let you
    know I solved the problem (just forget my post ;))
    installing gtk2 via ruby gems:
    I actually typed from a terminal session
    gem install gtk2
    and now I can use gtk2 in my program from
    irb

    Regards, giovanni

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: