Search code examples
rubyruport

Ruby Reporting through Ruport and other tools


I want to write a small reporting tool and looking to fetch data from MySQL. After searching I found a tool called as Ruport but I am not following where are it's binaries located. If not binaries than how to install it. It discusses the installation commands to install via gems, but where are the files located.

Secondly, do I have to create a Windows interface using fxRuby or wxRuby to work with it?

Are there other free reporting tools for Ruby?


Solution

  • It's probably a good idea to get a good book or two on Ruby, rather than asking these kind of questions, but here goes:

    To install a gem, do

    gem install gemname
    

    To use it, put the following in Ruby code:

    require "rubygems" # May not be necessary
    require "gemname"
    

    To find where your gem files are stored, do

    gem env
    

    And as for whether you need a GUI for ruport: can you try working that out yourself first?