Archive for May, 2008

Distributing your Ruby program as a standalone executable (exe)

Since ruby is an interpreted language, whenever you want to release your program you need to release the source code. Also your program users must install Ruby virtual machine before they can run your program. Is there a way to distribute ruby program as a standalone executable? Erik Veenstra has created a nifty tool called […]

Accessing Windows API from Ruby – Using Win32API library

Ruby is used extensively in Web applications thanks to Ruby on Rails. But you can also develop Windows applications using Ruby. Interestingly the Windows API support is part of the standard installation (only on Microsoft Windows installations) and it is quite easy to use it! In order to use Windows API, you need to import […]

Ruby-Talk – rb_str_new2 cleanup, ruby GUI libraries and Ruby vs Python

Note: This is a weekly round up of interesting stuff found on ruby-talk mailing list. You can subscribe to this list here. 1. Steven wondered whether it is necessary to clean up the string created from native C code(rb_str_new2) and passed to rb_funcall. Matz replied, You don’t have to (and you shouldn’t) free string objects. […]