Perry - didn't realize I could set the environment variable in my app like that
That's a great help - thanks -:) On Apr 20, 1:28 am, Perry Smith <[email protected]> wrote: > 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 viahttp://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 -~----------~----~----~----~------~----~------~--~---

