Tyler Clemons

Tag: Add new tag

OS Independent Excel Reports

by on Jun.28, 2008, under Programming, Ruby, Ruby on Rails, win32

I ran into this problem awhile ago. I was tasked with making Excel reports using Ruby on Rails. Since I was running on Windows, I just used Win32ole. It worked quite well until I remembered that Win32 is not platform independent.  Basically, if the system is hosted on a non-Windows machine the Excel Report will fail.  Great.  But, Ruby isn’t out for the count yet.  I found a pretty cool spreadsheet generator at RubyForge.  After installing spreadsheet, it is pretty simple to use. You can either install it by downloading it from the web, click HERE, or use ruby gems by typing this on the command line: “gem install spreadsheet-excel”

(continue reading…)

Leave a Comment :, , , , , more...

Looking for something?

Use the form below to search the site: