Advertisement
Guest User

Gnome

a guest
Jun 22nd, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. I have ruby 2.0.0
  2. Im installing this ruby-gnome2-0.16.0-1-i386-mswin32.exe (12.3 MB) which I found here:
  3. http://sourceforge.net/projects/ruby-gnome2/files/ruby-gnome2/ruby-gnome2-2.0.2/
  4. I install it to the C:\Ruby200 folder
  5.  
  6. I try the following code, saved in a file called base.rb
  7. require 'gtk2'
  8. window = Gtk::Window.new
  9. window.show
  10. Gtk.main
  11.  
  12. When I run it with my start command prompt with ruby: ruby base.rb
  13. I get the error that in require, cannot load such file gtk2 (Load error)
  14.  
  15. What am I doing wrong?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement