Cannot require Faker module

541 views
Skip to first unread message

Con

unread,
Aug 26, 2008, 8:16:39 PM8/26/08
to Ruby Faker
Hi, I just installed the Faker gem but when I try to require this
module from the command line, I'm getting the following error message:

irb(main):001:0> require 'faker'
LoadError: no such file to load -- faker
from (irb):1:in `require'
from (irb):1

BTW, I have Ruby Gems 1.2 installed. If anyone knows what's going on,
please do post.

Thanks in advance,

-Conrad


Con

unread,
Aug 26, 2008, 9:21:32 PM8/26/08
to Ruby Faker
OK, I have resolved this issue by doing the following:

require 'rubygems'
require 'faker'

-Conrad
Reply all
Reply to author
Forward
0 new messages