On Thu, Oct 9, 2008 at 1:11 AM, Jeremy Evans <[EMAIL PROTECTED]> wrote: > > On Oct 8, 9:02 am, File <[EMAIL PROTECTED]> wrote: >> Nevermind... it's not working. Possibly due to a circular reference of >> require 'sequel'. > > Here are some options: > > 1) Modify $: and then require sequel in your application code (my > usual choice when running from a git repository). > 2) Use your method, but use require with a full path inside your > sequel.rb. > 3) Name your file something other than sequel.rb, and require that > file. > 4) Use the RUBYLIB environment variable when starting your app > (doesn't require any changes to the app).
Also see: http://chneukirchen.org/blog/archive/2008/08/taming-rubylib-with-the-z-shell.html Maybe you can make a similar setup on windows, there's also: http://github.com/chneukirchen/rubyports/tree/master IMHO, changing $RUBYLIB is the easiest way. ^ manveru --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sequel-talk" 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/sequel-talk?hl=en -~----------~----~----~----~------~----~------~--~---
