[Locomotive-users] Adding Oracle OCI8 to the Rails+RMagick bundle

Lori M Olson loriolson at mac.com
Wed Jul 5 21:45:24 GMT 2006


Hi,

New to the list.  I am trying to customize the Rails+RMagick bundle  
to include the Oracle OCI8 driver.  After working through some issues  
with gcc, I finally have the OCI8 bundle installed, but when I run, I  
get an NSLinkModule error on the Oracle library when I run script/ 
server.

I have successfully run script/server after manually adjusting the  
DYLD_FALLBACK_LIBRARY_PATH to include the Oracle Instant Client  
libraries.  But I need to know how to automate this, so I can run the  
server from the Locomotive interface.

After reading the help and searching this list, I decided that adding  
an environment.plist file via the environment setting in  
locomotive.yml would probably work.  But it did not work, and the  
DYLD_FALLBACK_LIBRARY_PATH remains unchanged.  Is it only the PATH  
that can be modified in this way, and not the  
DYLD_FALLBACK_LIBRARY_PATH?

Can I get some guidance here?  Is the environment.plist file the  
right way to go?  If so, can anyone provide a working example file?   
If not, what else should I be trying?

Thanks,

Lori


More information about the Locomotive-users mailing list