From: locky thindromen Date: 2012-07-10T02:21:37+09:00 Subject: Re: unable to use gems in simple scripts /facepalm thanks Marvin, i got my arguments crossed and though -T was for more verbose debugging output. after removing it, the gem works properly! thanks also to Chris, adding the Include statement fixed the script, without that it was returning "test.rb:5:in `
': undefined method `DecNum' for main:Object (NoMethodError)" i'm a bit confused as to why "include" is needed after requiring a gem, as none of the guides or examples i've run across mention anything but the require statement. ~L -- Posted via http://www.ruby-forum.com/.