Forum: Ruby "FireRuby" (Ruby script for FirePHP)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
T.N.T. (Guest)
on 2008-10-11 20:35
(Received via mailing list)
Hello group

Since I couldn't find anything regarding a ruby version of the
FirePHP.class.php for FirePHP so I wrote something myself. I'm just a
hobbyist so it's not the Fine Art and it's not really festure rich
(yet). But it works for the basic console.log(msg) thing. For plain cgi
as well as with webrick. If anybody is interested you can download it

I hope I didn't reinvent an existing wheel. Comments or hints to an
existing script are of course very welcome.

Regards from Berlin, TNT

CGI: _________________________________

require 'fireruby'
console =
console.log 'HMMMmmm...' 'Übrigens...'
console.warn "Achtunk!"
console.error "Scheiße!"

WEBrick: _______________________________

server.mount_proc('/firetest') do |request, response|
  response.fire_log 'HMMMmmm...'
  response.fire_info 'Übrigens...'
  response.fire_warn "Achtunk!"
  response.fire_error "Scheiße!"
  response.body = "..."
This topic is locked and can not be replied to.