what to do with a gem once I have installed it
I am a complete newbie to Ruby and Gems. I just wanted to try out an open source Gem tool for testing, and installed Ruby, then Gem, and managed to install the test tool I wanted to try out - cvs-datagen.
My question is, because I don't have the time to learn everything about Ruby just to try out this tool, which has only .rdoc documentation attached - how do I run the package?
do I have to create a ruby program that requires this gem? and if so, what is the quickest way to do that?
thanks for you patience with my questions
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Ryan Davis on 03 Aug, 2011 08:47 PM
Yes, you need to write a program that uses the gem, meaning:
require "rubygems" # not needed on ruby 1.9
require "something-in-that-gem"
use_the_gem()
Beyond that, I can't help. You're going to have to buckle down and learn ruby if you want to be effective with that gem.
Ryan Davis closed this discussion on 03 Aug, 2011 08:47 PM.