Ruby, DRb and Gentoo

There can be a problem with the DRb system in Ruby on Gentoo and the IPv6 support. If an application with DRb does not work and its error message is: TEXT [Show Styled Code]: Exception `SocketError' at /usr/lib/ruby/1.8/drb/drb.rb:840 - getnameinfo: ai_family not supported /usr/lib/ruby/1.8/drb/drb.rb:840:in `getaddrinfo': getnameinfo: ai_family not supported (SocketError) TEXT [Show Plain Code]: Exception `SocketError’ at /usr/lib/ruby/1.8/drb/drb.rb:840 - [...]

Distributed Ruby

I am creating a prototype of a distributed application written in Ruby. Ruby 1.8 already contains the DRb framework, as a system for a communication of different Ruby processes, and the Rinda system too, as a naming service. Here are some useful links: Distributed Ruby Hugh Sasse’s dRuby page DRb and Rinda for Distributed Computation Prototyping Lucas Carlson’s blog and [...]

Podpora slovenčiny i s triedením v PostgreSQL a Ruby on Rails

Ak používate PostgreSQL databázu a radi by ste slovenké písmenká i triedenie mali, nasledujúci návod vám k tomu pomôže. Keďže používam Gentoo distribúciu, uvediem aj kroky potrebné pre úspešné používanie slovenčiny na tejto distribúcii. A ako posledné si ukážeme, ako to všetko použiť v Ruby on Rails. Inštalácia Inštalácia je pod Gentoo veľmi jednoduchá: Bash [Show Styled Code]: emerge postgresql [...]