From: Brian Candler Date: 2009-07-07T17:45:31+09:00 Subject: Re: Ruby Module Vetrivel Vetrivel wrote: > I am running above code from perl . To check the problem , I am > redirecting the stderr to a file . I got Wrong 'no of argument error' . Can you paste the *exact* and *complete* error message you see? This will make it clear whether the error comes from Perl or Ruby, and if Ruby, exactly which line it is on. The only problem I can see is that "require 'test'" assumes that test.rb is in the current working directory. Perl may have changed the current working directory. You could write instead: require File.join(File.dirname(__FILE__), 'test') -- Posted via http://www.ruby-forum.com/.