Yep seems to work with "require 'rubygems', good catch.

Cheers,
Kyle

On 5/6/07, John Mettraux <[EMAIL PROTECTED]> wrote:
>
> 2007/5/7, Kyle <[EMAIL PROTECTED]>:
> >
> > Thanks for the quick reply, here is my setup:
> >
> > Did fresh install:
> >
> > localhost:~/Desktop kyle$ sudo gem uninstall openwferu
> > Successfully uninstalled openwferu version 0.9.10.653
> > localhost:~/Desktop kyle$ sudo gem install openwferu
> > Bulk updating Gem source index for: http://gems.rubyforge.org
> > Successfully installed openwferu-0.9.10.653
> > Installing ri documentation for openwferu-0.9.10.653...
> > Installing RDoc documentation for openwferu-0.9.10.653...
> >
> > Tried to run one of the examples:
> >
> > localhost:/opt/local/lib/ruby/gems/1.8/gems/openwferu-0.9.10.653/examples
> > kyle$ ruby scheduler_cron_usage.rb
>
> Hi Kyle,
>
> most of those examples do lack a "require 'rubygems'"
>
> I tried the scheduler_cron_usage.rb without it and I got :
>
> [EMAIL PROTECTED]:/usr/lib/ruby/gems/1.8/gems/openwferu-0.9.10.653/examples$
> ruby scheduler_cron_usage.rb
> scheduler_cron_usage.rb:9:in `require': no such file to load --
> openwfe/util/scheduler (LoadError)
>         from scheduler_cron_usage.rb:9
>
> With the "require 'rubygems'", it works.
>
> I guess I'll simply add this line to all of the examples to avoid
> future problems.
>
>
> Does it work for you with "require 'rubygems'" ?
>
>
> --
> John Mettraux   -///-   http://jmettraux.openwfe.org
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to