You like Ruby ? (of course) You’re using it with GNU/Linux and don’t like gem as a fake apt ?
Gunnard Wolf has a good good new : Ruby programs and libraries for Debian and Ubuntu, it’s here \o/
You like Ruby ? (of course) You’re using it with GNU/Linux and don’t like gem as a fake apt ?
Gunnard Wolf has a good good new : Ruby programs and libraries for Debian and Ubuntu, it’s here \o/
J’ai découvert un binding Ruby/Webkit, c’est l’œuvre de Daniel Lucraft.
Pour récupèrer ce petit bijou :
git clone git://github.com/danlucraft/rbwebkitgtk.git
Un make et un sudo make install plus tard (enfin presque, lisez le README) vous pouvez vous lancer :
browser.rb :
require 'webkit'
win = Gtk::Window.new
win.signal_connect("destroy") do
Gtk.main_quit
end
wv = Gtk::WebKit::WebView.new
wv.open("http://stemp.wordpress.com/")
win.add(wv)
win.show_all
Gtk.main
On lance le bouzin :
ruby browser.rb
Et hop :