|manveru||cooperative multitasking in coroutines?|
|micahf||so I'm guessing that DLN_LIBRARY_PATH might be what I'm looking for|
but where would that be in siteruby?
|manveru||my brain changes its structure, but is not able to adapt to that concept|
is that like... threads?
|Olathe||No, it's like defining an each method.|
You return multiple times using yield. When the block is done, you start the coroutine again where you left off, rather than at the beginning.
Coroutines are a bit more general, though.
|manveru||i.e. you can just pop in and out of the state|
|Olathe||They say that continuations are a nice way to implement them, rather than stacks.|
Well, you can pop into and out of their instruction sequence.
|micahf||this is rough|
|Olathe||But the state goes with it.|
|micahf||that ming/mingc.so is totally in my site_ruby directory|
|manveru||well, the queue at least|
|Olathe||micahf: Sorry, I've never really dealt with environment variables.|
|micahf||but I still get "LoadError: no such file to load -- ming/mingc|
|manveru||or whatever you work on|
|micahf||Olathe: it's OK|
|manveru||micahf: where is your site_ruby ?|
a local one?
that could be tough
|micahf||yes, cause it's definitely in my environment|
it finds ming/ming.rb
but not ming/ming.so
|manveru||for the time being, $LOAD_PATH << File.join(ENV['HOME'], 'site_ruby')|
or the path to ming