Gavin Morrice wrote:
> added
> 
> export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
> 
> to my .bash_profile file
> 
> Seems to have done the trick.
> 
> :)

I'd revisit that if I were you.  In the final deployment, you are likely 
going to run the server as someone other than you.  And, the .profile is 
not always pulled in either.

Before the require, I'd try putting:

ENV['LD_LIBRARY_PATH']="/usr/local/lib:#{ENV['LD_LIBRARY_PATH']}

Perhaps put it in environment.rb

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to